Use glColor and Lighting together

Hi,

how is it possible to set a glColor3f() that is shown even when Lighting is enabled via glEnable(Gl.GL_LIGHTING)?

I am currently using lighting with a white light source but I want to be able to see colors as well.

You need to enable tracking of current color by material used for lighting. See documentation of glEnable( GL_COLOR_MATERIAL ) and glColorMaterial functions.

Ok, thanks. I will give it a try.