Lighting

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

I think glColorMaterial should make it.