Explorar o código

hemilight example - repositioned directionallight to make helper visible

Lewy Blue %!s(int64=8) %!d(string=hai) anos
pai
achega
7a23a2a348
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/webgl_lights_hemisphere.html

+ 1 - 1
examples/webgl_lights_hemisphere.html

@@ -124,7 +124,7 @@
 				dirLight = new THREE.DirectionalLight( 0xffffff, 1 );
 				dirLight.color.setHSL( 0.1, 1, 0.95 );
 				dirLight.position.set( -1, 1.75, 1 );
-				dirLight.position.multiplyScalar( 50 );
+				dirLight.position.multiplyScalar( 30 );
 				scene.add( dirLight );
 
 				dirLight.castShadow = true;