浏览代码

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

alteredq 14 年之前
父节点
当前提交
272d23c7a5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/webgl_trackballcamera_earth.html

+ 1 - 1
examples/webgl_trackballcamera_earth.html

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