Explorar el Código

Editor: Better default position for HemisphereLight.

Mr.doob hace 10 años
padre
commit
c91fb34dfd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      editor/js/Menubar.Add.js

+ 1 - 1
editor/js/Menubar.Add.js

@@ -354,7 +354,7 @@ Menubar.Add = function ( editor ) {
 		var light = new THREE.HemisphereLight( skyColor, groundColor, intensity );
 		light.name = 'HemisphereLight ' + ( ++ lightCount );
 
-		light.position.set( 0.5, 1, 0.75 ).multiplyScalar( 200 );
+		light.position.set( 0, 100, 0 );
 
 		editor.execute( new AddObjectCommand( light ) );