Ambient Lights
AmbientLight
extends the Light class
-
Light rays aim in all directions, flooding an environment and illuminating
shapes evenly
-
Use ambient lights to raise the overall light level
-
Low ambient light makes artificial contrasty imagery
-
High ambient light looks washed out
-
Usually one ambient light in the scene is enough
TransformGroup group = new TransformGroup( );
. . .
AmbientLight light = new AmbientLight( );
light.setEnable( true );
light.setColor( new Color3f( 1.0f, 1.0f, 1.0f ) );
. . .
light.setInfluencingBounds( bounds );
group.addChild( light );