Jump to content
  • Advertisement
Sign in to follow this  
Coluna

Effects that use the framebuffer

This topic is 5013 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; To do some special effects, like heat (like in doom3) or glasses that deform the image behind it, u need a copy of the framebuffer in a texture...witch is the better way to have it? copy the entire screen by copysubimage or render a second time in a pbuffer? I think the second way is out because using stencil shadows and shaders twice will kill the performance...does anybody knows the way doom3 do that? Thanks

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Instead of rendering the scene a second time you could render it into the pbuffer once and then use it to texture a quad that covers the whole screen.

Share this post


Link to post
Share on other sites
I thought about that...but the problem is when u need to do effects that use the z-buffer...like particle systems that produce heat effect...

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!