diff options
| author | yum <yum.food.vr@gmail.com> | 2023-01-31 22:00:49 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2023-01-31 22:00:49 -0800 |
| commit | ba2274c7958b40a307053f3c82cc3fcbd7a6ab2e (patch) | |
| tree | 467060704ac683d1d858baf8b85165515a377cac /Shaders | |
| parent | 3c9fe23b06358a12235c1bf38e3356237c78402c (diff) | |
Do not use PBR shading on curve transparency
Diffuse reflections can show up on this part.
Diffstat (limited to 'Shaders')
| -rw-r--r-- | Shaders/TaSTT_lighting_template.cginc | 2 |
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)) { |
