#version 330 in vec2 position; out vec2 texCoord; void main() { texCoord = position * 0.5 + vec2(0.5, 0.5); gl_Position = vec4(position, 0.0, 1.0); }