Jump to content
  • Advertisement
Sign in to follow this  
jrmcv

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

This topic is 3833 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!