Sign in to follow this  
stalef

FBO performance

Recommended Posts

What is the best approach performance-wise when using FBO, when I have to change rendertargets (for e.g ping-pong)? Is it better to use one FBO and change render target each time i need to do so, or is it better to have separate FBOs, one for each rendertarget combination? What I thing I'm asking is this; What is faster, changing rendertarget for an active FBO, or changing to another FBO?

Share this post


Link to post
Share on other sites
On Vista changing FBO is slow. However on Linux and nVidia cards the contrary showed to be true. It depends therefore on the OS and hardware the app is running on. Best is to keep the same size and format. I simply use a grow-only target and use viewport and scissor if I need to render a smaller image.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this