Sign in to follow this  

MultiTexturing Help.

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this