فهرست منبع

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 );
 
 		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" ),