ep2: Finish input system+opengl window+glsl compilation

This commit is contained in:
bloeys
2021-10-17 09:42:43 +04:00
parent 7a29b411ac
commit b296f1af4c
5 changed files with 337 additions and 0 deletions

8
res/shaders/simple.frag.glsl Executable file
View File

@ -0,0 +1,8 @@
#version 460
out vec4 FragColor;
void main()
{
FragColor = vec4(1, 0, 0, 1.0);
}

8
res/shaders/simple.vert.glsl Executable file
View File

@ -0,0 +1,8 @@
#version 460
in vec3 vertPos;
void main()
{
gl_Position = vec4(vertPos, 1.0);
}