Explorar o código

Fix Edge Background material

Sebastien Vandenberghe %!s(int64=7) %!d(string=hai) anos
pai
achega
5087d58eda

+ 4 - 0
src/Shaders/ShadersInclude/backgroundFragmentDeclaration.fx

@@ -20,4 +20,8 @@
 
 #ifdef REFLECTIONFRESNEL
     uniform vec4 vReflectionControl;
+#endif
+
+#if defined(REFLECTIONMAP_SPHERICAL) || defined(REFLECTIONMAP_PROJECTION) || defined(REFRACTION)
+uniform mat4 view;
 #endif