Jump to content
  • Advertisement
Sign in to follow this  

MultiTexturing Help.

This topic is 4452 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

Im not sure about How exactly to work with multi texturing.So I have to load images like normal texture map and then active. But How to active the textures? Like this? glActiveTexture(GL_TEXTURE0); glBindTexture(GL_TEXTURE_2D,MytextureObject); Well Is this mean that I put MytextureObject into Texture UNIT 0 right? If So. I still dont get to apply multi textcoord into a plane. glTexCoord2f(0.0f, 0.0f); glMultiTexCoord2f(GL_TEXTURE1,0.0f, 0.0f); glVertex3f(-1.0f, -1.0f, 1.0f); Like this!? I dont understand that what I have to bind texture obj. Becasue there is two textcoord and of course it needs to bind 2 textures objects as well right? Well.. my english totally sucks but Hope u understand the problem. Just need to know how to do the multitexture things.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!