Quantcast
Viewing all articles
Browse latest Browse all 40524

Is drawing with ofFbo more efficient than just drawing a single object?

When you don't explicitely use an ofFbo, it's all being drawn onto a framebuffer anyways. So it is always faster to draw directly to the screen (again, it's not the "screen", but the default framebuffer). Provided that you end up calling ofFbo::draw of course : )

FBOs have other advantages, like combining renders with alpha values, or getting the depth buffer from a render pass. You can also use them to post-process each frame through a shader.


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>