summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2023-01-31 22:00:49 -0800
committeryum <yum.food.vr@gmail.com>2023-01-31 22:00:49 -0800
commitba2274c7958b40a307053f3c82cc3fcbd7a6ab2e (patch)
tree467060704ac683d1d858baf8b85165515a377cac
parent3c9fe23b06358a12235c1bf38e3356237c78402c (diff)
Do not use PBR shading on curve transparency
Diffuse reflections can show up on this part.
-rw-r--r--Shaders/TaSTT_lighting_template.cginc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Shaders/TaSTT_lighting_template.cginc b/Shaders/TaSTT_lighting_template.cginc
index 4fed35e..d2d4005 100644
--- a/Shaders/TaSTT_lighting_template.cginc
+++ b/Shaders/TaSTT_lighting_template.cginc
@@ -531,7 +531,7 @@ fixed4 frag(v2f i) : SV_Target
return light(i, margin_effect(i));
}
if (InMarginRounding(uv, uv_margin, Margin_Rounding_Scale, /*interior=*/false)) {
- return light(i, fixed4(0, 0, 0, 0));
+ return fixed4(0, 0, 0, 0);
}
}
if (InMargin(uv, uv_margin)) {