View Full Version : a simple color question

05-09-2002, 06:57 AM
Somehow I can't set the colors of a textured
polygon using glColor3f(..), what could be resulting this kind of behaviour? Secondly, I can't get lighting
to work, is that becouse I can't set color either? Sorry if I can't explain more specific.

05-09-2002, 06:59 AM
Check glTexEnv settings. You are probably
using decal rather than modulate.

05-09-2002, 07:06 AM
Yes. I did use GL_REPLACE, and I changed it to GL_MODULATE and it works. Thanks.