self:get_shadow_split_1_offset
Client
Retrieves the split 1 offset of the directional light's cascade shadow map, as a proportion of the shadow max distance
Syntax
local offset = self:get_shadow_split_1_offset()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
float | offset | Current split 1 offset, from 0.0 to 1.0 |
Examples
local entity = light.directional.create()
core.engine.print("info", "Shadow Split 1 Offset:", entity:get_shadow_split_1_offset())