Jump to content
  • Advertisement
Sign in to follow this  
OliverSharpe

Post Process help

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

Hello again. I've made some post processing effects in XNA before but I'm not very experienced with them at all, so I need to know some possible techniques or methods I could use with my idea here. I have a simple 3D game now, where everything needs to be blurred if it's a certain amount away from the camera. I would also like the blur factor to be based on the depth (i.e., the farther away a model is from the camera, the blurrier it gets). I'm not looking for specific code, more like suggestions on how to implement this. My original idea was to use the depth buffer and blur based on the depth value at each pixel, and add in the blurred texture as a post process effect. Is this feasible or recommended? Any ideas are welcome!

Share this post


Link to post
Share on other sites
Advertisement
This technique is commonly referred to as Depth of Field. I have a sample you can look at here. I also have a motion blur sample that you could look at, as well as one for HDR rendering. Together those pretty much encompass your most common post processing techniques.

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!