self:set_shadow_normal_bias
Client
Sets the shadow normal bias of the directional light
Syntax
local status = self:set_shadow_normal_bias(
bias
)Parameters
| Type | Name | Description |
|---|---|---|
float | bias | Shadow normal bias value to apply |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = light.directional.create()
entity:set_shadow_normal_bias(1.0)