Sign in to follow this  
Quat

Deferred Renderer Reuse GBuffer for Passes

Recommended Posts

I'm adding planar reflection support to my deferred renderer. At first I was going to create a set of GBuffers for the reflection map (matching dimensions), but this makes the reflection map very memory expensive. So I was thinking to just reuse my main screen gbuffer, but only render to a part of it (using viewport). Is there any reason not to do it this way?

Share this post


Link to post
Share on other sites
[quote name='Quat' timestamp='1343080521' post='4962378']
Is there any reason not to do it this way?
[/quote]
No, reusing buffers is the way to go, just take care, that you don't need the content of the buffer in a later pass.

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