diff options
| author | yum <yum.food.vr@gmail.com> | 2025-02-24 03:08:28 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-02-24 03:08:35 -0800 |
| commit | 6b6920cfde43d84c59d757b7b96ccabe46d6d75a (patch) | |
| tree | 8bf5472d1305902c5badb654dd88a7d824301a34 /2ner.cginc | |
| parent | cd10b0140515cd70630564694dcff0f4616b2e4d (diff) | |
Extra stencil color pass behaves as base pass when disabled and not locked
Diffstat (limited to '2ner.cginc')
| -rw-r--r-- | 2ner.cginc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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
|
