summaryrefslogtreecommitdiffstats
path: root/2ner.cginc
diff options
context:
space:
mode:
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