multiple textures.
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
Eric Ranaldi a.k.a RanBlade
[size=1]"Passion is what drives you to stay up until 4am fixing that bug that hardly anyone would notice...
[size=1]Passion is where great games come from, if you dont live and breathe games you shouldn't be in the games industry."
[size=2]- Dave Pottinger, Ensemble Studios
[size=1][GameDev][C++ Page][Unity Game Engine][Panda3D Game Engine][NeHe Productions][Drunken Hyena][MSDN][Beej's Guide to Network Programming]
[size=1][FreedBSD][My Site][Gamasutra][Khan Acadamey]
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!
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!
- To learn, we share... Give some to take some -
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement