• Advertisement
Sign in to follow this  

minimize glDrawElements or glBindBuffer...?

This topic is 1850 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

Advertisement

OpenGL standard doesn't describe how VBO binding should be implemented internally, I guess this would be vendor specific, whereas reducing draw calls would give you an average performance boost.

Share this post


Link to post
Share on other sites

Why can't you minimize both? You pretty much only need a VBO and draw call per every different kind of a shader you're going to use.

Share this post


Link to post
Share on other sites

You don't even need a VBO per-shader, you could in theory have one big VBO containing all of your scene geometry and then adjust the params of your draw calls to use the appropriate ranges within it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement