PDA

View Full Version : Color problem?



beet6
01-19-2002, 11:34 AM
I have writen some code to draw a virtual hand. After setting material properties, and a light, the hand was shown red, and even I deleted all the material properties and light setting, it still stayed as RED. Strange...I set Color with glColorf(), no effects at all. Your help is most appreciated.

Regards

Beet

Gorg
01-19-2002, 11:59 AM
I think it is because you are doing something wrong http://www.opengl.org/discussion_boards/ubb/smile.gif

Post some code, it will be easier to help.

dpsv
01-19-2002, 05:54 PM
Is GL_COLOR_MATERIAL enabled ?