Explorar el Código

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

Mr.doob hace 13 años
padre
commit
7d988db87d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 = [