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
| Type | Name | Description |
|---|---|---|
bool | state | true to enable reverse cull face, false to disable |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = light.directional.create()
entity:set_shadow_reverse_cull_face_enabled(true)