#version 410 in vec2 xy; in vec2 uv; uniform float z = 0.999999; out vec2 uvV; void main(void) { // Draw against the very back of the visible cube. vec4 pos = vec4(xy.x, xy.y, z, 1.0); gl_Position = pos; uvV = uv; }