Browse Source

Improved fbx example.

Mr.doob 8 years ago
parent
commit
3a3c742e2d
1 changed files with 5 additions and 1 deletions
  1. 5 1
      examples/webgl_loader_fbx.html

+ 5 - 1
examples/webgl_loader_fbx.html

@@ -93,7 +93,7 @@
 				};
 
 				var loader = new THREE.FBXLoader( manager );
-				loader.load( 'models/fbx/xsi_man.fbx', function( object ) {
+				loader.load( 'models/fbx/xsi_man_skinning.fbx', function( object ) {
 
 					object.traverse( function( child ) {
 
@@ -138,6 +138,10 @@
 
 				window.addEventListener( 'resize', onWindowResize, false );
 
+				light = new THREE.HemisphereLight(0xffffff, 0x444444, 1.0);
+				light.position.set(0, 1, 0);
+				scene.add(light);
+
 				light = new THREE.DirectionalLight(0xffffff, 1.0);
 				light.position.set(0, 1, 0);
 				scene.add(light);