Jump to content
  • Advertisement

Archived

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

Cel

cost of texturing

This topic is 5964 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement

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


Keef

-----------------------
glDisable(WORK);
glEnable(GL_CODING);

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!