gfx.ssil.set_normal_rejection

Client

Sets the normal rejection strength of SSIL post-processing effect


Syntax

local status = gfx.ssil.set_normal_rejection(
    value
)

Parameters

TypeNameDescription
floatvalueNormal rejection value to apply
Controls how aggressively surfaces with diverging normals are excluded from contributing indirect light to one another, reducing light leaking across sharp geometric transitions

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Reduce light leaking at sharp geometry transitions
gfx.ssil.set_normal_rejection(1.0)

On this page