Parcourir la source

fixed naming of normal matrix in default fragment shader

Max Limper il y a 7 ans
Parent
commit
b2fdd3145c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/Shaders/ShadersInclude/defaultFragmentDeclaration.fx

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

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