Browse Source

Having the light on top seems to be much more useful.

Mr.doob 13 năm trước cách đây
mục cha
commit
7d988db87d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/webgl_geometries.html

+ 1 - 1
examples/webgl_geometries.html

@@ -47,7 +47,7 @@
 				scene.add( new THREE.AmbientLight( 0x404040 ) );
 
 				light = new THREE.DirectionalLight( 0xffffff );
-				light.position.set( 0, 0, 1 );
+				light.position.set( 0, 1, 0 );
 				scene.add( light );
 
 				materials = [