#version 330 core in vec3 position; in vec2 texcoord_vert; out vec2 texcoord_frag; uniform mat4 proj; uniform mat4 view; uniform mat4 model; void main() { texcoord_frag = texcoord_vert; gl_Position = proj * view * model * vec4(position, 1.0); }