Is this normal!?

I turn off lighting and change glColor
and even though I have glDisable(GL_COLOR_MATERIAL) in my loop my objects get colored by glColor…

Thanks so much in advance!
Cheers!
Rod

Of course it’s normal. You change the primary color, so the objects changes color.

Color material is only used to track some material properties to the primary color state when lighting is enabled. The color material feature doesn’t affect anything when lighting is disabled.

Thanks! :slight_smile:

I am also getting this:
I render a billboard that has alpha texture with Lighting off and glAlphaTest and nothing gets rendered. However if I do glEnable(GL_Lighting) everything gets rendered perfectly.

Is this normal too?

Thanks so much in advance!
Cheers!
Rod

That behaviour depends on so much more than just enabling lighting. Post code and make a more detailed description of the problem.