attribute vec4 Color; void main( void ) { gl_TexCoord[0] = gl_Vertex; gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; gl_FrontColor = vec4( Color ); }