diff options
| author | yum <yum.food.vr@gmail.com> | 2024-11-09 16:48:23 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-11-09 16:48:39 -0800 |
| commit | 82b3aa6059d6c118c6fd617be49ee6f070e153a0 (patch) | |
| tree | 665971fe1a433e58f9484bbb1ecadf910a3cd8ef /tooner_lighting.cginc | |
| parent | c5d3fb245c692e238250a46afa60564ab4cf5eb1 (diff) | |
Add seed to interleaved gradient noise cutout
Diffstat (limited to 'tooner_lighting.cginc')
| -rw-r--r-- | tooner_lighting.cginc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tooner_lighting.cginc b/tooner_lighting.cginc index 56c37f7..243393a 100644 --- a/tooner_lighting.cginc +++ b/tooner_lighting.cginc @@ -1789,7 +1789,7 @@ 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); + float ar = ign_anim(tdata.screen_uv_round+_Rendering_Cutout_Ign_Seed); 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); |
