Explorar el Código

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

alteredq hace 14 años
padre
commit
272d23c7a5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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" ),