Jump to content
  • Advertisement

Archived

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

Ozz

MultiTexturing Query

This topic is 6500 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 the multitexturing to apply 2 textures to a plane, it works fine with two normal textures but I want one of the textures to be environment mapped, how do apply environment mapping to one texture but not the other when the calls appear next to each like so:
    
glMultiTexCoord2fARB(GL_TEXTURE0_ARB, pPtr[0][0]+m_vTexOrigin[0],pPtr[0][1]+m_vTexOrigin[1]);
		glMultiTexCoord2fARB(GL_TEXTURE1_ARB, pPtr[0][0]+m_vTexOrigin[0],pPtr[0][1]+m_vTexOrigin[1]);
    

Share this post


Link to post
Share on other sites
Advertisement

  • 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!