multipul textures?

Started by
1 comment, last by neonoblivion 21 years, 10 months ago
how do I load and use multiple, so different polys can have different textures.
Advertisement
OpenGL is a state machine. Just set texture before you draw your geometry.

glBindTexture( GL_TEXTURE_{1,2,3}D, textureID );

PS:have a look at NeHe''s tutorials (http://nehe.gamedev.net)

You should never let your fears become the boundaries of your dreams.
You should never let your fears become the boundaries of your dreams.
I think that you want to use multiple texture in the same poligon.
Look at the GL_ARB_MULTITEXTURE extension.

This topic is closed to new replies.

Advertisement