Fake Volumetric Shader

A multi-purpose procedural shader made with Amplify Shader Editor in Unity. It is suitable for volumetric lights, fog/mist/god rays, smoke (particles) and for any effect that requires depth fade and/or a fade based on the distance from the camera. It is flexible as to whether and how it is animated It was made for a VR project and  it is much more efficient in terms of performance to other ways of making a volumetric effect in Unity.