Global fog does not work with deferred rendering in Unity

Global fog does not work with deferred rendering in Unity

When I set deferred rendering the global fog from the Unity Standard Assets does not work, there is no fog at all. With forward rendering the global fog works. How do I add fog with deferred rendering?

Solutions/Answers:

Answer 1:

Download this: https://www.assetstore.unity3d.com/en/#!/content/83912

After Downloading it attach the “Post Processing Behaviour” Script to your Main Camera. The Script comes with the Package. Right-Click into your assets folder and create a new “Post-Processing Profile”. Drag that into the empty Slow in the Inspector in the newly added Script on your Main Camera.
Select the Post-Processing Profile and in the Inspector Check “Fog”.

References