Interface: LightingSpec
Experimental
scene.lighting (E8.7). Colors are sRGB 0–1 RGBA (parsed by the caller).
Properties
| Property | Type | Description |
|---|---|---|
ambient? | | { color?: RGBA; intensity?: number; } | null | Experimental |
directional? | readonly DirectionalLightSpec[] | null | Experimental |
environment? | string | Texture<unknown, TextureEventMap> | null | Experimental Image-based lighting for the standard / physical (and phong / basic reflections) material types: a built-in room ('studio', 'city'), an equirectangular image URL, or a texture (e.g. an HDR loaded with three's HDRLoader). Plotly's model ignores it. |
environmentIntensity? | number | Experimental Scales the environment's light. Default 1. |
hemisphere? | | { groundColor?: RGBA; intensity?: number; skyColor?: RGBA; up?: Vec3; } | null | Experimental |
shadows? | | { extent?: number; ground?: number | boolean; mapSize?: number; opacity?: number; up?: Vec3; } | null | Experimental Shadow maps of castShadow lights. |