#version 330 in vec4 PositionInProjection; out vec2 TexCoord; void main() { gl_Position = PositionInProjection; TexCoord = PositionInProjection.xy * 0.5 + 0.5; }