GL_LIGHT_MODEL_LOCAL_VIEWER
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?
March 10, 2002 01:25 PM
I think it should be
glLightModeli(GL_LIGHT_MODEL_LOCAL_VIEWER, GL_TRUE);
See page.198 Red book 2:ed
glLightModeli(GL_LIGHT_MODEL_LOCAL_VIEWER, GL_TRUE);
See page.198 Red book 2:ed
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement