@@ -1,3 +1,7 @@
+#if SM_FLOAT == 0
+ #include<packingFunctions>
+#endif
+
varying float vDepthMetricSM;
#ifdef SM_USEDISTANCE == 1
@@ -1,8 +1,4 @@
-#ifndef SM_FLOAT
- #include<packingFunctions>
-#endif
-
-#include<shadowMapFragmentDeclaration>
+#include<shadowMapFragmentDeclaration>
#ifdef ALPHATEST
varying vec2 vUV;