1 2 3 4 5 6 7 8 9 10 11 12 13
#version 330 core in vec3 aPos; in vec2 aTexCoords; out vec2 TexCoords; void main() { TexCoords = aTexCoords; gl_Position = vec4(aPos, 1.0); }