Explorar o código

fixed naming of normal matrix in default fragment shader

Max Limper %!s(int64=7) %!d(string=hai) anos
pai
achega
b2fdd3145c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Shaders/ShadersInclude/defaultFragmentDeclaration.fx

+ 1 - 1
src/Shaders/ShadersInclude/defaultFragmentDeclaration.fx

@@ -35,7 +35,7 @@ uniform mat4 view;
 #endif
 #endif
 
 
 #ifdef OBJECTSPACE_NORMALMAP
 #ifdef OBJECTSPACE_NORMALMAP
-uniform mat4 normalMat;
+uniform mat4 normalMatrix;
 #endif
 #endif
 
 
 #ifdef REFRACTION
 #ifdef REFRACTION