Header menu logo Mibo

Lighting2DConfig Type

Main configuration for 2D lighting.

Record fields

Record Field Description

DefaultAmbient

Full Usage: DefaultAmbient

Field type: AmbientLight2D voption
Field type: AmbientLight2D voption

Enabled

Full Usage: Enabled

Field type: bool
Field type: bool

MaxLightsPerTile

Full Usage: MaxLightsPerTile

Field type: int

Maximum lights per tile (default: 8).

Field type: int

Shadows

Full Usage: Shadows

Field type: Shadows2DConfig voption

Shadow configuration.

Field type: Shadows2DConfig voption

TileSize

Full Usage: TileSize

Field type: int

Screen-space tile size for CPU light culling (default: 32).

Field type: int

Type something to start searching.