Jump to content
  • Advertisement

Archived

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

RanBlade

multiple textures.

This topic is 5562 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 cant seem to figure this out. how would you go about loading 3 or 4 diffrent textures into your program. just call a diffrent if statement for each texture[x] or even a for loop? any help would be great

Share this post


Link to post
Share on other sites
Advertisement
how to load multiple textures? in ogl, u generate enuf texture id''s and use each id during binding of each texture. of course, i''ll assume u know wat texture binding is.
how to use em? remember those id''s? u use em once when u LOAD teh texture, and u use it every other time to SET the texture for any succeeding geometry!

Share this post


Link to post
Share on other sites

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