Advertisement

multitexture and color?

Started by November 13, 2001 04:55 PM
2 comments, last by RPGman 23 years, 3 months ago
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.
Advertisement
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.
No, he told you why. Each texture unit you activate must be told what to do.

This topic is closed to new replies.

Advertisement