Awesome
Volumetric Fog
Volumetric fog implementation in Unity. Made originally as a part of my Bachelors thesis (which you can read from here). Now I am just improving it in my free time. Does not currently support the new HD render pipeline that came in Unity 2018.
How to run:
- Clone this repository (
git clone https://github.com/SiiMeR/unity-volumetric-fog.git
) - Download Unity (version 2018.3 and later supported. To use on earlier Unity versions, please clone an older commit, for example
3314461facc824a171fd859fdd95bab180fd8c48
supports 2018.1) - Open the project in Unity
- Open the scene
Forest
(under theScenes
folder) and press play - Fog settings can be changed by selecting the
CameraAndFog
gameobject, which is a child of thePlayer
gameobject in the scene hierarchy.
Enabling benchmark mode
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.
Default controls
W,S,A,D - Fly around
Mouse look - Look around
Shift - Fly faster
More screenshots