diff -r 000000000000 -r bb715a82a8f1 shaders/first.vert --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/shaders/first.vert Sun Nov 26 16:27:50 2023 +0100 @@ -0,0 +1,13 @@ +#version 330 core + +uniform mat4 model; +uniform mat4 view; +uniform mat4 projection; +in vec3 vertices; +in vec2 textureCoordinates; +out vec2 textureCoordinate; + +void main() { + gl_Position = projection * view * model * vec4(vertices, 1.0f); + textureCoordinate = textureCoordinates; +}