Bladeren bron

Fix missing bump uniform declaration in fragment shader

Gary Hsu 8 jaren geleden
bovenliggende
commit
697b6ce919
1 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  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;
 uniform vec3 vAmbientInfos;
 #endif
 #endif
 
 
+#ifdef BUMP
+uniform vec3 vBumpInfos;
+#endif
+
 #ifdef OPACITY	
 #ifdef OPACITY	
 uniform vec2 vOpacityInfos;
 uniform vec2 vOpacityInfos;
 #endif
 #endif