PDA

View Full Version : Lighting



10-25-2001, 04:10 AM
Hi,

I'm trying to light a simple cube using a single light located pretty much where the viewpoint is. I've set up normals and everything, as well as the light's parameters but with GL_LIGHTING enabled the image becomes greyscale. I don't want to have to set up texture maps or anything for my cube, just keep the original colours of each of the cube's faces as they would be affected by a white light. Cheers,

Steve

Fredy
10-25-2001, 04:37 AM
I think glColorMaterial should make it.