self:set_shadow_reverse_cull_face_enabled

Client

Sets whether shadow reverse cull face is enabled on the directional light


Syntax

local status = self:set_shadow_reverse_cull_face_enabled(
    state
)

Parameters

TypeNameDescription
boolstatetrue to enable reverse cull face, false to disable

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Apply shadow reverse cull face enabled on a directional light
local entity = light.directional.create()

entity:set_shadow_reverse_cull_face_enabled(true)

On this page