summaryrefslogtreecommitdiffstats
path: root/fog.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2024-10-26 15:51:30 -0700
committeryum <yum.food.vr@gmail.com>2024-10-26 15:52:43 -0700
commit07b1aca3f096a520cbae1d4cca18692fc69d2944 (patch)
tree652dccb4daeb2c9c93153d902ede60169605d1ef /fog.cginc
parent94f37fa8dd94137a910df4ebc80f98db2d685f08 (diff)
Update cloning
Optimize cloning logic, and make each clone rotate independently of the others when the explosion effect is active.
Diffstat (limited to 'fog.cginc')
-rw-r--r--fog.cginc2
1 files changed, 1 insertions, 1 deletions
diff --git a/fog.cginc b/fog.cginc
index 223bedf..ee447db 100644
--- a/fog.cginc
+++ b/fog.cginc
@@ -33,7 +33,7 @@ float perlin_noise_3d_tex(float3 p)
}
float map(float3 p, float lod) {
- float3 t = _Time[1] * .5 * FOG_PERLIN_NOISE_SCALE;
+ float3 t = _Time[1] * _Gimmick_Fog_00_Noise_Scale * 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