Explorar el Código

Fix Edge Background material

Sebastien Vandenberghe hace 7 años
padre
commit
5087d58eda
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      src/Shaders/ShadersInclude/backgroundFragmentDeclaration.fx

+ 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