summaryrefslogtreecommitdiffstats
path: root/2ner.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-02-24 03:08:28 -0800
committeryum <yum.food.vr@gmail.com>2025-02-24 03:08:35 -0800
commit6b6920cfde43d84c59d757b7b96ccabe46d6d75a (patch)
tree8bf5472d1305902c5badb654dd88a7d824301a34 /2ner.cginc
parentcd10b0140515cd70630564694dcff0f4616b2e4d (diff)
Extra stencil color pass behaves as base pass when disabled and not locked
Diffstat (limited to '2ner.cginc')
-rw-r--r--2ner.cginc2
1 files changed, 1 insertions, 1 deletions
diff --git a/2ner.cginc b/2ner.cginc
index b4e7d8e..e814fd8 100644
--- a/2ner.cginc
+++ b/2ner.cginc
@@ -121,7 +121,7 @@ float4 frag(v2f i) : SV_Target {
pbr.albedo.a = 1;
}
-#if defined(EXTRA_STENCIL_COLOR_PASS)
+#if defined(EXTRA_STENCIL_COLOR_PASS) && defined(_EXTRA_STENCIL_COLOR_PASS)
pbr.albedo = _ExtraStencilColor;
#endif