This topic is now archived and is closed to further replies.

Maverick the divider

gluQuaric, color, lightning

Recommended Posts

When lighting is enabled, the color is calculated from the lighting equation and the material properties. You set material properties with glMaterial. Or if you want, you can let some material properties track the color set by glColor, in which case you can have a look at glColorMaterial.

Share this post

Link to post
Share on other sites