Jump to content
  • Advertisement
Sign in to follow this  
Quat

Deferred Renderer Reuse GBuffer for Passes

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

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
Advertisement

Is there any reason not to do it this way?

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
It seems very common for game engines to put their buffers into a "render target pool", so that different stages of your rendering pipeline can share resources.

Share this post


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

  • 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!