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 39d0fa8..7cbc96f 100644
--- a/2ner.cginc
+++ b/2ner.cginc
@@ -478,7 +478,6 @@ float4 frag(v2f i, uint facing : SV_IsFrontFace
#if defined(FORWARD_BASE_PASS) || defined(FORWARD_ADD_PASS) || defined(OUTLINE_PASS) || defined(EXTRA_STENCIL_COLOR_PASS)
YumLighting l = GetYumLighting(i, pbr);
- //return float4(l.occlusion, l.occlusion, l.occlusion, 1);
#if defined(FORWARD_BASE_PASS) || defined(FORWARD_ADD_PASS)
applyMatcapsAndRimLighting(i, pbr, l);
@@ -487,6 +486,7 @@ float4 frag(v2f i, uint facing : SV_IsFrontFace
#endif
pbr.albedo.rgb = visualizeInFalseColor(pbr.albedo.rgb);
+ pbr.albedo.rgb = applyQuasiShadows(pbr.albedo.rgb, l);
#if defined(_UNLIT)
float4 lit = pbr.albedo;