Header menu logo Mibo

LightingState Type

The complete lighting state for a scene. Passed to the renderer via 'SetLighting' command.

Record fields

Record Field Description

AmbientColor

Full Usage: AmbientColor

Field type: Color

Global ambient color added to all surfaces regardless of light sources. Use low, desaturated colors (e.g., RGB(30,30,35)) for realistic ambient.

Field type: Color

AmbientIntensity

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

Field type: float32

Lights

Full Usage: Lights

Field type: Light[]

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).

Field type: Light[]

Type something to start searching.