Sign in to follow this  
smally

Screen Effects

Recommended Posts

Hi, I've recently come across a website that talks how to in a 2D game with shaders; make the screen go blurry, have double vision, embossed etc. However I'm unsure about how to get this effect going with a 3D game. At the moment I am creating a small 3D game with a 2D background. I've got my background doing these effects but I don't know how I go about with it with my 3D objects.

Share this post


Link to post
Share on other sites
After rendering the entire scene you can resolve the back buffer (or just directly render into a RGBA render target). On this texture you can then use any of these techniques explained in the site you mentioned (this one, I guess)

Share this post


Link to post
Share on other sites
Look up the 'PostProcess' sample from the SDK - you can do some of these effects in 3D/object space, but its more common to do them in image space as a post processing step.

hth
Jack

Share this post


Link to post
Share on other sites
Hey thanks, I was thinking it would be done that way but wasn't sure whether that was the best posible way of doing it.

PostProcess was the word I was looking for, for the SDK then :D thanks

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