Volumetric fog implementation in Unity. Made originally as a part of my Bachelors thesis. Now I am just improving it in my free time. Does not currently support the new HD render pipeline that came in Unity 2018.
- Clone this repository (
git clone https://github.com/SiiMeR/unity-volumetric-fog.git) - Download Unity (tested on versions 2018.1, 2017.4, 2017.3)
- Open the project in Unity
- Open the scene 'Forest' (under the 'Scenes' folder) and press play
- Fog settings can be changed by selecting the 'CameraAndFog' gameobject, which is a child of the 'Player' gameobject in the scene hierarchy
To enable benchmark mode, enable the Animator and Benchmark components under the 'Player' gameobject and disable the Player script. Additionally, enable the 'Text' gameobject under the 'Canvas' gameobject. Benchmark results are saved to AppData/LocalLow/DefaultCompany/unity-volumetric-fog on Windows.
W,S,A,D - Fly around
Mouse look - Look around
Shift - Fly faster