Browse Source

Disabled ambient light in trackball Earth example (to get rid of clouds in unlit part of the globe).

alteredq 14 years ago
parent
commit
272d23c7a5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/webgl_trackballcamera_earth.html

+ 1 - 1
examples/webgl_trackballcamera_earth.html

@@ -129,7 +129,7 @@
 		scene.addLight( dirLight );
 
 		ambientLight = new THREE.AmbientLight( 0xFFFFFF );
-		scene.addLight( ambientLight );
+		//scene.addLight( ambientLight );
 
 		var planetTexture = THREE.ImageUtils.loadTexture( "textures/planets/earth_atmos_2048.jpg" ),
 		cloudsTexture     = THREE.ImageUtils.loadTexture( "textures/planets/earth_clouds_1024.png" ),