LightingState Type
The complete lighting state for a scene. Passed to the renderer via 'SetLighting' command.
Record fields
| Record Field |
Description
|
|
Global ambient color added to all surfaces regardless of light sources. Use low, desaturated colors (e.g., RGB(30,30,35)) for realistic ambient.
|
Full Usage:
AmbientIntensity
Field type: float32
|
Intensity multiplier for ambient color. Higher values make ambient light stronger (can wash out scenes). Typical range: 0.1f - 1.0f
|
Array of active lights in scene. The renderer will cull lights outside camera frustum and sort for tiled forward rendering. Maximum 31 lights supported per frame (due to tiled culling bitmask limitations).
|
Mibo