Browse Source

Fix missing bump uniform declaration in fragment shader

Gary Hsu 8 years ago
parent
commit
697b6ce919
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/Shaders/ShadersInclude/pbrFragmentDeclaration.fx

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

@@ -34,6 +34,10 @@ uniform vec2 vAlbedoInfos;
 uniform vec3 vAmbientInfos;
 #endif
 
+#ifdef BUMP
+uniform vec3 vBumpInfos;
+#endif
+
 #ifdef OPACITY	
 uniform vec2 vOpacityInfos;
 #endif