Browse Source

check for layered bumpmap

Lewy Blue 7 years ago
parent
commit
a9d7579f1b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/js/loaders/FBXLoader.js

+ 1 - 1
examples/js/loaders/FBXLoader.js

@@ -555,7 +555,7 @@ THREE.FBXLoader = ( function () {
 				switch ( type ) {
 
 					case 'Bump':
-						parameters.bumpMap = textureMap.get( child.ID );
+						parameters.bumpMap = self.getTexture( FBXTree, textureMap, child.ID, connections );
 						break;
 
 					case 'DiffuseColor':