Browse Source

Merge pull request #12466 from looeee/FBXLoader_standard_mat_to_phong

FBXLoader switch Standard to Phong
Mr.doob 8 năm trước cách đây
mục cha
commit
b53b6942c4
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

@@ -1737,7 +1737,7 @@
 
 						} else {
 
-							material = new THREE.MeshStandardMaterial( { color: 0x3300ff } );
+							material = new THREE.MeshPhongMaterial( { color: 0xcccccc } );
 							materials.push( material );
 
 						}