1 2 3 4 5 6 7 8 9
uniform mat4 mWorldViewProj; void main(void) { gl_TexCoord[0] = gl_MultiTexCoord0; gl_Position = mWorldViewProj * gl_Vertex; gl_FrontColor = gl_BackColor = gl_Color; }