diff options
| author | yum <yum.food.vr@gmail.com> | 2024-10-13 16:56:44 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-10-13 16:56:44 -0700 |
| commit | 1ff4045914b603c16f3e1b3339e1080b152825fb (patch) | |
| tree | 51997a39266e11c7350ed9ddf4413db31f763c7b | |
| parent | 6206a5b8a96dc5eb3f5b12a3c4ccf26844421193 (diff) | |
Fix fog time scaling
| -rw-r--r-- | fog.cginc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ float perlin_noise_3d_tex(float3 p) } float map(float3 p, float lod) { - float3 t = _Time[1] * 0.5; + float3 t = _Time[1] * .5 * FOG_PERLIN_NOISE_SCALE; #define RADIUS_TRANS_WIDTH 100 #define RADIUS_TRANS_WIDTH_RCP (1.0 / RADIUS_TRANS_WIDTH) // Try to create a smooth transition without doing any length() or other |
