mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-09 04:56:01 +10:00
Disabled ambient light in trackball Earth example (to get rid of clouds in unlit part of the globe).
This commit is contained in:
@@ -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" ),
|
||||
|
||||
Reference in New Issue
Block a user