Inheritance: EventDispatcher → Object3D → Light →
This light globally illuminates all objects in the scene equally.
It cannot be used to cast shadows as it does not have a direction.
const light = new THREE.AmbientLight( 0x404040 ); // soft white light
scene.add( light );
Constructs a new ambient light.
color
The light's color.
Default is 0xffffff.
intensity
The light's strength/intensity.
Default is 1.
This flag can be used for type testing.
Default is true.