Lighting parameters, allow configuration of the global lighting parameters. For details see Clustered Lighting.

Properties

_areaLightsEnabled: boolean = false
_cells: Vec3 = ...
_cookieAtlasResolution: number = 2048
_cookiesEnabled: boolean = false
_maxLightsPerCell: number = 255
_shadowAtlasResolution: number = 2048
_shadowType: number = SHADOW_PCF3
_shadowsEnabled: boolean = true
atlasSplit: number[] = null

Atlas textures split description, which applies to both the shadow and cookie texture atlas. Defaults to null, which enables to automatic split mode. For details see Configuring Atlas Split.

debugLayer: number

Layer ID of a layer to contain the debug rendering of clustered lighting. Defaults to undefined, which disables the debug rendering. Debug rendering is only included in the debug version of the engine.

Accessors