Skip to main content
GameDev.net gamedev.net
🔒 Locked

Order of post processing pipeline

Started by wildboar Jun 18, 2011 at 12:26 PM 2 replies 1.8k views
Original Post
wildboar
wildboar
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?
Aqua Costa
Aqua Costa
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.
wildboar
wildboar
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.
harveypekar
harveypekar
-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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.