Browse Source

Merge pull request #14599 from looeee/fbxloader_check_for_layered_bumpmap

FBXLoader: check for layered bumpmap
Mr.doob 7 năm trước cách đây
mục cha
commit
f97687c987
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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( textureMap, child.ID );
 						break;
 
 					case 'DiffuseColor':