learn opengl

This commit is contained in:
2023-05-31 23:01:19 +02:00
parent 763df573d8
commit 56daae2c9e
8 changed files with 8077 additions and 13 deletions

View File

@@ -1,7 +1,16 @@
#version 330 core
in vec2 positions;
in vec3 color;
in vec2 texCoords;
out vec3 Color;
out vec2 TexCoords;
void main(){
Color = color;
TexCoords = texCoords;
gl_Position = vec4(positions, 0.0, 1.0);
}
// vim: set ft=glsl: