multitexture and color?
i am using multitexturing to put a detail texture on my terrain, and i WAS using glcolor3f to do the shading on my landscape when i wasnt using a detail texture. But now when i use multitexturing, the landscape isnt affected by glcolor3f...
is that my mistake, or is that just a drawback of multitexturing?
--------------------------------------------------------------If it sounds like a good idea, do it. It is much harder to get permission than it is to apologize.
no. it isn''t. but you shouldn''t be using glcolour3f etc, you should be using a colour array (preferably unsigned bytes)....
when you activate the texture unit, use glColorPointer to give gl the colours you want to use.
when you activate the texture unit, use glColorPointer to give gl the colours you want to use.
even if i am using glcolor3f, shouldnt it work? i just want to know why it doesnt work...
--------------------------------------------------------------If it sounds like a good idea, do it. It is much harder to get permission than it is to apologize.
November 15, 2001 01:35 PM
No, he told you why. Each texture unit you activate must be told what to do.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement