glLightfv(GL_LIGHT0, GL_SPOT_DIRECTION, direction0);\r
\r
glLightf(GL_LIGHT0, GL_SPOT_CUTOFF, 90.0);\r
- //glLightf(GL_LIGHT0, GL_SPOT_EXPONENT, 1);\r
+ glLightf(GL_LIGHT0, GL_SPOT_EXPONENT,90);\r
\r
glLightfv(GL_LIGHT1, GL_AMBIENT, ambient1);\r
glLightfv(GL_LIGHT1, GL_DIFFUSE, diffuse1);\r
glLightfv(GL_LIGHT1, GL_SPOT_DIRECTION, direction1);\r
\r
glLightf(GL_LIGHT1, GL_SPOT_CUTOFF, 90.0);\r
+ glLightf(GL_LIGHT1, GL_SPOT_EXPONENT,90);\r
\r
glLightModelfv(GL_LIGHT_MODEL_AMBIENT, glightmodel);\r
glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR);\r