Vital.sandbox
GFXSSIL

gfx.ssil.set_normal_rejection

Client

The normal rejection strength to be set for the SSIL post-processing effect


Syntax

local status = gfx.ssil.set_normal_rejection(value)

Parameters

TypeNameDescription
floatvalueNormal rejection value to be applied
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, or false on failure

Examples

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

On this page