Archived

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

RanBlade

multiple textures.

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