self:get_shadow_normal_bias

Client

Retrieves the shadow normal bias of the directional light


Syntax

local bias = self:get_shadow_normal_bias()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatbiasCurrent shadow normal bias value

Examples

Get shadow normal bias of a directional light
local entity = light.directional.create()

core.engine.print("info", "Shadow Normal Bias:", entity:get_shadow_normal_bias())

On this page