Hemispheric (ambient) light properties

interface AmbientLightProperty {
    diffuseColor?: Color3;
    direction?: Vector3;
    enable?: boolean;
    intensity?: number;
    specularColor?: Color3;
    type: "ambient";
}

Hierarchy (view full)

Properties

diffuseColor?: Color3

Diffuse gives the basic color to an object

Color3.White
direction?: Vector3

The light reflection direction, not the incoming direction

Vector3(0, 0, -1)
enable?: boolean

Whether to enable the light

true
intensity?: number

Strength of the light

1
specularColor?: Color3

Specular produces a highlight color on an object

Note: This is not affecting PBR materials

Color3.Black
type

Type of light, must be 'ambient'