Advertisement

Texturing

Started by June 05, 2004 05:19 PM
0 comments, last by Slyer 20 years, 5 months ago
Hi I have a problem. I have 3 textures ( A, B, C ). I build the tex A and B with glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); and the tex C with glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE); But, i cant change the color of C. Help ME Excuse me for my english, im french
You mean you can''t change the oclor using glColor? That''s expected, since GL_REPLACE outputs the texture color only from the texture combiner. GL_MODULATE outputs the texture color modulated by the primary color.

This topic is closed to new replies.

Advertisement