gfx.sdfgi.set_probe_bias

Client

Sets the probe bias of SDFGI post-processing effect


Syntax

local status = gfx.sdfgi.set_probe_bias(
    value
)

Parameters

TypeNameDescription
floatvalueProbe bias value to apply
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, false otherwise

Examples

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

On this page