Engine API Reference - v2.6.1
    Preparing search index...

    Class LightingParams

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

    Index

    Properties

    atlasSplit: null | 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

    • get cookieAtlasResolution(): number

      Gets the resolution of the atlas texture storing all non-directional cookie textures.

      Returns number

    • set cookieAtlasResolution(value: number): void

      Sets the resolution of the atlas texture storing all non-directional cookie textures. Defaults to 2048.

      Parameters

      • value: number

      Returns void

    • get shadowAtlasResolution(): number

      Gets the resolution of the atlas texture storing all non-directional shadow textures.

      Returns number

    • set shadowAtlasResolution(value: number): void

      Sets the resolution of the atlas texture storing all non-directional shadow textures. Defaults to 2048.

      Parameters

      • value: number

      Returns void