Archived

This topic is now archived and is closed to further replies.

multitexture and color?

This topic is 5875 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
No, he told you why. Each texture unit you activate must be told what to do.

Share this post


Link to post
Share on other sites