Skip to content

Commit 272d23c

Browse files
committed
Disabled ambient light in trackball Earth example (to get rid of clouds in unlit part of the globe).
1 parent 38ac281 commit 272d23c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/webgl_trackballcamera_earth.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
scene.addLight( dirLight );
130130

131131
ambientLight = new THREE.AmbientLight( 0xFFFFFF );
132-
scene.addLight( ambientLight );
132+
//scene.addLight( ambientLight );
133133

134134
var planetTexture = THREE.ImageUtils.loadTexture( "textures/planets/earth_atmos_2048.jpg" ),
135135
cloudsTexture = THREE.ImageUtils.loadTexture( "textures/planets/earth_clouds_1024.png" ),

0 commit comments

Comments
 (0)