Skip to main content

Type Alias: AmbientLight

AmbientLight = object

Defined in: modules/lighting/lights/lighting.ts:25

Ambient light contribution shared across the entire scene.

Properties​

color?​

optional color?: Readonly<NumberArray3>

Defined in: modules/lighting/lights/lighting.ts:29

RGB light color in the existing 0..255 convention used by luma.gl materials.


intensity?​

optional intensity?: number

Defined in: modules/lighting/lights/lighting.ts:31

Scalar intensity multiplier applied to the light color.


type​

type: "ambient"

Defined in: modules/lighting/lights/lighting.ts:27

Discriminator used to identify ambient lights in lights: Light[].