AmbientLight
WHS.AmbientLight is a simple class, it extends WHS.Light
and inherits all it's methods.
WHS.AmbientLight creates basic light around all scene, so it doesn't need properties like pos
or target.
It supports only color
parameter, which defines the color of the surrounded light and intensity
of light.
new WHS.AmbientLight( {
light: {
color: 0xffffff,
intensity: 0.2
}
}).addTo(world);
Updated less than a minute ago