PDA

View Full Version : Vertex Colors



05-29-2003, 10:45 PM
Hi
Iam trying to colorize a texture using glColor. It works fine for blended geometry but doesnt work for non-blended geometry.
What do I need to do for it to work?
Thanks

yaro_dup1
05-30-2003, 08:10 AM
Paste this line before rendering a polygon:

glTexEnvi (GL_TEX_ENV, GL_TEX_ENV_MODE, GL_MODULATE);

05-30-2003, 09:49 AM
Thanks that worked