self:set_shadow_reverse_cull_face_enabled

Client

Sets whether shadow reverse cull face is enabled on the spot 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 spot light
local entity = light.spot.create()

entity:set_shadow_reverse_cull_face_enabled(true)

On this page