summaryrefslogtreecommitdiffstats
path: root/2ner.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-02-27 18:02:04 -0800
committeryum <yum.food.vr@gmail.com>2025-02-27 18:02:04 -0800
commitef6b610577f851d8c70840f945c0ec2161450302 (patch)
tree19c24eb03adb6b735ef1ed1789b42699b2871659 /2ner.cginc
parentd10dca271fd69606bde8e0a0e104db9140bfe52e (diff)
Add detail maps
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 f981a4c..29c107a 100644
--- a/2ner.cginc
+++ b/2ner.cginc
@@ -172,7 +172,7 @@ float4 frag(v2f i) : SV_Target {
#if defined(FORWARD_BASE_PASS) || defined(FORWARD_ADD_PASS) || defined(OUTLINE_PASS) || defined(EXTRA_STENCIL_COLOR_PASS)
YumLighting l = GetYumLighting(i, pbr);
-#if defined(FORWARD_BASE_PASS)
+#if defined(FORWARD_BASE_PASS) || defined(FORWARD_ADD_PASS)
applyMatcapsAndRimLighting(i, pbr, l);
pbr.albedo.rgb = max(0, pbr.albedo.rgb);
l.diffuse = max(0, l.diffuse);