Advertisement

lights

Started by March 10, 2002 06:16 PM
3 comments, last by Game Boy 22 years, 11 months ago
How can I draw lines in the middle of a scene that won''t be affected by any lights in the scene? Like axis in a coordinate system.
Just turn off the lighting.

Advertisement
heh, couldn''t have said it better myself. hang on... actually, i can .

glDisable (GL_LIGHTING);

// Draw crap

glEnable (GL_LIGHTING);
Ok. I thought that would disable lightning for all the objects in the scene, but I see now that it works fine. Thanks.
Remember, OpenGL is a State Machine .

Diapolo

This topic is closed to new replies.

Advertisement