1 #version 330 core 2 layout (location = 0) in vec2 aPos; 3 layout (location = 1) in vec2 aTexCoords; 4 5 out vec2 TexCoords; 6 7 void main() 8 { 9 TexCoords = aTexCoords; 10 gl_Position = vec4(aPos.x, aPos.y, 0.0, 1.0); 11 }