Skip to content
项目

SiiMeR/unity-volumetric-fog

在 GitHub 查看

关于

A volumetric fog implementation in Unity.

游戏与模拟器

这些数字如何统计

实测星标增长

24小时
-1
7天
-1
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Fog result 2019 dec.

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:

  1. Clone this repository (git clone https://github.com/SiiMeR/unity-volumetric-fog.git)
  2. 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)
  3. Open the project in Unity
  4. Open the scene Forest (under the Scenes folder) and press play
  5. Fog settings can be changed by selecting the CameraAndFog gameobject, which is a child of the Player 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

Fog result image 5 Fog result image 1 Fog result 2019 jan.
Fog result image 2 Fog result image 3

探索相关项目

加载中…