• Advertisement
Sign in to follow this  

Order of post processing pipeline

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

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
Advertisement
Are you using a deferred lighting pipeline? if so, SSAO should be calculated before the lighting pass, and then use it in the lighting pass.

Share this post


Link to post
Share on other sites
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
-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
Sign in to follow this  

  • Advertisement