Browse Source

Fix Edge Background material

Sebastien Vandenberghe 7 years ago
parent
commit
5087d58eda
1 changed files with 4 additions and 0 deletions
  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