Shadow

gfx.shadow.is_directional_atlas_16bits

Client

Retrieves whether the directional shadow atlas uses a 16-bit depth buffer

Syntax

local result = gfx.shadow.is_directional_atlas_16bits()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if the atlas uses a 16-bit depth buffer, false otherwise

Examples

Print the directional atlas depth precision
core.engine.print("info", "Directional atlas 16-bit:", gfx.shadow.is_directional_atlas_16bits())

On this page