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
| Type | Name | Description |
|---|---|---|
float | offset | Split 3 offset to apply, from 0.0 to 1.0 |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = light.directional.create()
entity:set_shadow_split_3_offset(0.30000000000000004)