Download

Depth Fog Losing dynamic AO lighting... Any fix?

I have a depth fog material i have written where i drop a plane in the scene and it creates a z-fog effect. But im losing the data from the dynamic ambient occlusion data from under that fog plane (translucent material).

Ideally i guess rendering the fog after the ambient occlusion which is a post effect would do what i need, but is this possible? Is there any way to get around this?

My only thought it to create it as a post effect somehow?