1 2 3 4 5 6 7 8
#version 110 varying vec4 tex_coord; void main() { gl_Position = gl_Vertex; tex_coord = (gl_Vertex + 1.0) / 2.0; }