Sign in to follow this  
OliverSharpe

Post Process help

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this