1 2 3 4 5 6 7 8
varying vec4 ambient; void main() { ambient = gl_LightModel.ambient * gl_FrontMaterial.ambient; gl_TexCoord[0] = gl_MultiTexCoord0; gl_Position = ftransform(); }