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 0e6fa82..112f12f 100644
--- a/2ner.cginc
+++ b/2ner.cginc
@@ -303,7 +303,7 @@ float4 frag(v2f i, uint facing : SV_IsFrontFace
}
#endif
-#if defined(_SHATTER_WAVE)
+#if defined(_SHATTER_WAVE) || defined(_SCREEN_SPACE_NORMALS)
calcNormalInScreenSpace(i.normal, i.objPos);
i.normal = UnityObjectToWorldNormal(i.normal);
#endif