Jump to content
  • Advertisement
Sign in to follow this  
jrmcv

Deferred Shading - Changing the size of the G-Buffer mid frame

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

Hi, How do you handle multiple render to textures with a deferred renderer? eg. If you have cameras in your scene that link to monitors (render-to-textures), These Render-to-textures need a G-buffer with a resolution close to the output texture resolution. I could create a seperate G-buffer for each type of render target but that seems a little wasteful. I thought about rendering to a small section of the G-buffer or rendering to the whole G-buffer and then downsampling (again, seems wasteful) but nothing seems like a clear solution. Has anyone else had this problem or thought about it much? P.S: sorry if this is a double post, I tried asking this on graphics and theory but didn't get a response and don't know how to move threads.

Share this post


Link to post
Share on other sites
Advertisement
I don't really see any other options other than what you've laid out...but keep in mind that creating separate G-Buffers is only going to be a problem if you're memory-constrained.

Share this post


Link to post
Share on other sites
ok thanks, I was hoping there was a cleaner way of doing it. Post processing will just add to the problem too.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!