cost of texturing

Started by
1 comment, last by Cel 22 years, 1 month ago
Hi, I am wondering how expensive it is to change the current texture being used by OpenGL via the glBindTexture command? Would it be worthwhile organizing a mesh ordering it by which texture it uses (like grouping by texture type)? I haven''t had a chance to test the performance hit properly of changing the texture rapidly.... Thanks, Cel
Cel aka Razehttp://chopper2k.qgl.org
Advertisement
Delete your other two posts. Short answer: Yes, it is worthwhile to avoid texture changes.


Texture binding is expensive. You can gain quite a few fps by avoiding needless texture swaps.


Keef

-----------------------
glDisable(WORK);
glEnable(GL_CODING);
-----------------------Current Project: The Chromatic Game Engine

This topic is closed to new replies.

Advertisement