summaryrefslogtreecommitdiffstats
path: root/tooner_lighting.cginc
diff options
context:
space:
mode:
Diffstat (limited to 'tooner_lighting.cginc')
-rw-r--r--tooner_lighting.cginc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tooner_lighting.cginc b/tooner_lighting.cginc
index 059653b..efb3336 100644
--- a/tooner_lighting.cginc
+++ b/tooner_lighting.cginc
@@ -2774,7 +2774,7 @@ float4 effect(inout v2f i, out float depth)
float ds2_mask = _Gimmick_DS2_Mask.SampleLevel(linear_clamp_s, i.uv0, 0);
albedo = ds2.albedo * _Gimmick_DS2_Albedo_Factor * ds2_mask;
normal = ds2.normal;
- metallic = ds2.metallic;
+ metallic = ds2.metallic * ds2_mask;
roughness = ds2.roughness;
i.worldPos = ds2.worldPos;
{