void main() { gl_TexCoord[0] = gl_Vertex/2.0 + vec4( 0.5, 0.5, 0.0, 0.0 ); gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; }