PortraitLight
Interface of @v12-engine/client
ts
export interface PortraitLightHow a portrait's light is (PortraitFraming.light): a key light from in front of the face, and the light all round
Members
ambient
ts
ambient?: number;The light all round (a sky above, its ground below); 0.7 when left out
color
ts
color?: Rgb;The key light's colour, 0 to 1 a channel; a warm white when left out
direction
ts
direction?: [number, number, number];Where the key light points, in the model's own space (it faces +Z): from above, in front and to its right when left out
intensity
ts
intensity?: number;The key light's strength; 1.1 when left out