#version 330 in vec3 pos; out vec3 texCoords; uniform mat4 projection; uniform mat4 view; void main() { texCoords = pos; gl_Position = projection * view * vec4(pos, 1); }