Saturday 9 February 2008

Fog

We would like to get fog into the scene but may have to render it on a seperate pass. This could prove difficult because the fog has to be denser on further objects than it must be on objects in the foreground - and then theres the middleground also. This is a quick test I done to get a successful fog pass using a colour, AO and fog pass.

I then layered the fog in between the 2 passes and got this result:


This is not the result I was looking for. I have completely lost the background because the occlusion layer softened the 2 distant objects so much that the fog completely wiped them out!