Advertisement

GL_LIGHT_MODEL_LOCAL_VIEWER

Started by March 09, 2002 01:06 PM
0 comments, last by cb007sax 22 years, 11 months ago
glLightModelf(GL_LIGHT_MODEL_LOCAL_VIEWER,1.0f); i''ve recently discovered this new parameter for lighting an object, i saw a descrption but do not know what it does. I really cant see a difference in some of my projects. What should htis do?
I think it should be
glLightModeli(GL_LIGHT_MODEL_LOCAL_VIEWER, GL_TRUE);

See page.198 Red book 2:ed

This topic is closed to new replies.

Advertisement