Vital.sandbox
GFXSDFGI

gfx.sdfgi.set_probe_bias

Client

The probe bias to be set for the SDFGI post-processing effect


Syntax

local status = gfx.sdfgi.set_probe_bias(value)

Parameters

TypeNameDescription
floatvalueProbe bias value to be applied
Adjusts the offset used when sampling GI probes to avoid self-intersection artifacts, particularly on surfaces that are close to or overlapping SDFGI probe positions

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

Tune probe bias to eliminate probe intersection artifacts
--Tune probe bias to eliminate probe intersection artifacts
gfx.sdfgi.set_probe_bias(1.1)

On this page