diff options
| author | yum <yum.food.vr@gmail.com> | 2025-02-27 18:02:04 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-02-27 18:02:04 -0800 |
| commit | ef6b610577f851d8c70840f945c0ec2161450302 (patch) | |
| tree | 19c24eb03adb6b735ef1ed1789b42699b2871659 /2ner.cginc | |
| parent | d10dca271fd69606bde8e0a0e104db9140bfe52e (diff) | |
Add detail maps
Diffstat (limited to '2ner.cginc')
| -rw-r--r-- | 2ner.cginc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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);
|
