Original Post
Well, I'm currently trying to improve my standard full screen fog.
I'm not sure how to handle fog best.Currently I apply fog in a post-processing step (deferred shader) by just mixing the fog color with the frame color depending on a density function and the screen depth. My question is, would it be better to apply the fog before or after tone mapping ?
I would say, that before tonemapping would be the correct way, but wouldn't a dark and fogged scene lead to an undesired bright fogged screen ?
I'm not sure how to handle fog best.Currently I apply fog in a post-processing step (deferred shader) by just mixing the fog color with the frame color depending on a density function and the screen depth. My question is, would it be better to apply the fog before or after tone mapping ?
I would say, that before tonemapping would be the correct way, but wouldn't a dark and fogged scene lead to an undesired bright fogged screen ?