PDA

View Full Version : When you are making a material, what glcolor3f should you use when you are drawing it



John Jenkins
10-21-2002, 01:30 PM
I am using the library of materials I found on the internet. The question is, what color do I set the lighting and the object itself to achieve the same results?

Deiussum
10-22-2002, 05:20 AM
When lighting is enabled, material properties ARE your color. glColor3f has no effect unless you use glColorMaterial, and then it is still just setting the color of one of the material properties.

*Aaron*
10-22-2002, 06:47 AM
Oops, nevermind.

[This message has been edited by *Aaron* (edited 10-22-2002).]