Sign in to follow this  
wildboar

Order of post processing pipeline

Recommended Posts

wildboar    320
I am about to start adding shaders to my post processing pipeline,
Whats a good order to arrange the shaders in? something like this would be ok?

Light shaft/Godray
Lens flare
SSAO
Bloom
Vignette
DOF
HDR/Gamma correct
Tonemap
FXAA

Can some of these effects be combined into one pass?

Share this post


Link to post
Share on other sites
wildboar    320
I am not using a deferred pipeline at the moment. I thought about it but since my game is mostly outdoors I only really need 1 light source which is the sun.

Share this post


Link to post
Share on other sites
harveypekar    219
-HDR isn't a pass. Tonemapping is the part of HDR that's implemented as a postprocess.
-you're more or less "correct" already, as you should do most effects in HDR. You'll pay for it though.
-to fold together passes, just look at it in general (we can't say exactly HOW you'll implement things). Probably vignetting/gammacorrecting can be stuffed into another pass. But since all your convolutions depend on each other, you'll have to store the results somewhere.

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