Browse Source

Added helper to hemisphere light example

Lewy Blue 8 years ago
parent
commit
aca77f0494
1 changed files with 3 additions and 1 deletions
  1. 3 1
      examples/webgl_lights_hemisphere.html

+ 3 - 1
examples/webgl_lights_hemisphere.html

@@ -113,9 +113,11 @@
 				hemiLight = new THREE.HemisphereLight( 0xffffff, 0xffffff, 0.6 );
 				hemiLight.color.setHSL( 0.6, 1, 0.6 );
 				hemiLight.groundColor.setHSL( 0.095, 1, 0.75 );
-				hemiLight.position.set( 0, 500, 0 );
+				hemiLight.position.set( 0, 50, 0 );
 				scene.add( hemiLight );
 
+        scene.add( new THREE.HemisphereLightHelper( hemiLight, 10 ) );
+
 				//
 
 				dirLight = new THREE.DirectionalLight( 0xffffff, 1 );