self:set_shadow_bias

Client

Sets the shadow bias of the point light


Syntax

local status = self:set_shadow_bias(
    bias
)

Parameters

TypeNameDescription
floatbiasShadow bias value to apply

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Apply shadow bias on a point light
local entity = light.point.create()

entity:set_shadow_bias(1.0)

On this page