self:set_shadow_split_3_offset

Client

Sets the split 3 offset of the directional light's cascade shadow map, as a proportion of the shadow max distance


Syntax

local status = self:set_shadow_split_3_offset(
    offset
)

Parameters

TypeNameDescription
floatoffsetSplit 3 offset to apply, from 0.0 to 1.0

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set split 3 offset on a directional light
local entity = light.directional.create()

entity:set_shadow_split_3_offset(0.30000000000000004)

On this page