fix gitignore #9

Merged
s473616 merged 1 commits from fire into master 2024-02-02 21:33:58 +01:00
3 changed files with 22 additions and 3 deletions
Showing only changes of commit b3893d1587 - Show all commits

3
.gitignore vendored
View File

@ -1,6 +1,3 @@

/grk/project/shaders
/grk/.vs/grk-cw
/grk/project/Debug

View File

@ -0,0 +1,8 @@
#version 330 core
out vec4 FragColor;
in vec3 vertexColor;
void main() {
FragColor = vec4(vertexColor.r, vertexColor.g, vertexColor.b, 1.0);
}

View File

@ -0,0 +1,14 @@
#version 330 core
layout (location = 0) in vec3 inPosition;
out vec3 vertexColor;
uniform mat4 model;
uniform mat4 view;
uniform mat4 projection;
uniform vec3 color;
void main() {
gl_Position = projection * view * model * vec4(inPosition, 1.0);
vertexColor = color;
}