Archived

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

snisarenko

Can you bind more than one texture to a polygon

Recommended Posts

Filami    122
yes, it''s called multytexture and uses an extension

-GL_EXT_MULTYTEXTURE

see the gametutorials or nehe to see how to work with that...

Filami

Techno Grooves

Share this post


Link to post
Share on other sites
Evil-Prey    122
You could also, just set up two textures and allow it to switch from one texture to the other. For instance a crate polygon object could have two states, NORMAL or DAMAGED, with the textures being switched depending upon the damage level. MUlti-texturing allows two or more textures to be blended simultaneously on the polygon''s surface.

Share this post


Link to post
Share on other sites
vincoof    514
Just an addition to Filami''s post : the extensions GL_EXT_multitexture is no longer to be used. Use GL_ARB_multitexture instead. Moreover, multitexturing now takes part of the core of OpenGL (since OpenGL 1.3 Specifications or above)

Share this post


Link to post
Share on other sites