summaryrefslogtreecommitdiffstats
path: root/tooner_lighting.cginc
diff options
context:
space:
mode:
Diffstat (limited to 'tooner_lighting.cginc')
-rw-r--r--tooner_lighting.cginc3
1 files changed, 2 insertions, 1 deletions
diff --git a/tooner_lighting.cginc b/tooner_lighting.cginc
index cfe8f32..8c183ae 100644
--- a/tooner_lighting.cginc
+++ b/tooner_lighting.cginc
@@ -1798,7 +1798,8 @@ float4 effect(inout v2f i, out float depth)
float ar = rand2(i.uv0);
clip(albedo.a - ar);
#elif defined(_RENDERING_CUTOUT_IGN)
- float ar = ign_anim(tdata.screen_uv_round+_Rendering_Cutout_Ign_Seed);
+ float ar = ign_anim(tdata.screen_uv_round + _Rendering_Cutout_Ign_Seed,
+ floor(_Frame_Counter), _Rendering_Cutout_Ign_Speed);
clip(albedo.a - ar);
#elif defined(_RENDERING_CUTOUT_NOISE_MASK)
float ar = _Rendering_Cutout_Noise_Mask.SampleLevel(point_repeat_s, tdata.screen_uv * _ScreenParams.xy * _Rendering_Cutout_Noise_Mask_TexelSize.xy, 0);