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