Jump to content
  • Advertisement
Sign in to follow this  
AndyEsser

Multitexturing

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

Hey there all. I'm using Visual Basic 6 and I'm loading BMP's as my textures. My question is what's an easy way to combine two or more texture's together and then have them saved as another texture. For example I have texture0 and texture1 and I want to combine them to make texture2? Is there an easy way to do this without extensions. Any VB source code would be much appreciated. Thanks

Share this post


Link to post
Share on other sites
Advertisement
the easiest method would perhaps be
draw texA to the screen eith combined with B or draw B afterwards blended on top
use glCopyTexSubImage2d(...) to read back the result into a texture (or else u can use fbo and draw straight into a texture)

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!