From 6b6920cfde43d84c59d757b7b96ccabe46d6d75a Mon Sep 17 00:00:00 2001 From: yum Date: Mon, 24 Feb 2025 03:08:28 -0800 Subject: Extra stencil color pass behaves as base pass when disabled and not locked --- 2ner.cginc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '2ner.cginc') 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 -- cgit v1.2.3