lighting - Three.js less intense ambient light? -


i have solar system simulator i'm working on in three.js sun has pointlight @ center intensity of 2.5. looks great while planets facing sun, rest of planet dark. there way can add kind of ambient light source less intense pointlight bright enough show detail on dark side of planets?

dark side of planet

ambient light low color value (in hex between 0x000000 around 0x666666) lightens everything in scene:

var ambientlight = new three.ambientlight( 0x222222 );

in three.js there hemisphere light works ambient can control light top and 1 coming bottom seperatly.

it used fake reflection of light ground , adds little more depth scene pure ambient light. see demo example, including directional light: http://threejs.org/examples/webgl_lights_hemisphere.html


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -