Przeglądaj źródła

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

Mr.doob 13 lat temu
rodzic
commit
7d988db87d
1 zmienionych plików z 1 dodań i 1 usunięć
  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 = [