Archived

This topic is now archived and is closed to further replies.

khalligan

Lighting Question

Recommended Posts

khalligan    144
Im using lighting and I need to turn it off and on continously, and Im wondering every time I turn it off and back on again do I need to set the glLight*() functions again or will openGL remember them Thanks Keith

Share this post


Link to post
Share on other sites
OrangyTang    1298
They''ll be remembered. You only need to enable and disable the individual lights. OpenGL is a state machine and so this applies to pretty much everything (blend states, texture combine states etc.)

Share this post


Link to post
Share on other sites