Browse Source

Merge pull request #14599 from looeee/fbxloader_check_for_layered_bumpmap

FBXLoader: check for layered bumpmap
Mr.doob 7 years ago
parent
commit
f97687c987
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 ) {
 				switch ( type ) {
 
 
 					case 'Bump':
 					case 'Bump':
-						parameters.bumpMap = textureMap.get( child.ID );
+						parameters.bumpMap = self.getTexture( textureMap, child.ID );
 						break;
 						break;
 
 
 					case 'DiffuseColor':
 					case 'DiffuseColor':