self:set_shadow_normal_bias

Client

Sets the shadow normal bias of the area light


Syntax

local status = self:set_shadow_normal_bias(
    bias
)

Parameters

TypeNameDescription
floatbiasShadow normal bias value to apply

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

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

entity:set_shadow_normal_bias(1.0)

On this page