self:set_blend_splits_enabled

Client

Sets whether blend splits is enabled on the directional light, blending between cascade shadow levels to reduce visible seams


Syntax

local status = self:set_blend_splits_enabled(
    state
)

Parameters

TypeNameDescription
boolstatetrue to enable blend splits, false to disable

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Enable blend splits on a directional light
local entity = light.directional.create()

entity:set_blend_splits_enabled(true)

On this page