self:set_shadow_normal_bias

Client

Sets the shadow normal bias of the spot 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 spot light
local entity = light.spot.create()

entity:set_shadow_normal_bias(1.0)

On this page