Put the OpenGL to work

This commit is contained in:
2021-01-30 12:21:42 +01:00
parent f480fffc8e
commit 17d8c9406f
16 changed files with 566 additions and 12 deletions

View File

@@ -0,0 +1,8 @@
#version 330
out vec4 fragColor;
void main()
{
fragColor = vec4(0.0, 0.5, 0.5, 1.0);
}

View File

@@ -0,0 +1,8 @@
#version 330
layout(location=0) in vec3 position;
void main()
{
gl_Position = vec4(position, 1.0);
}