GFXSDFGI
gfx.sdfgi.set_normal_bias
Client
The normal bias to be set for the SDFGI post-processing effect
Syntax
local status = gfx.sdfgi.set_normal_bias(value)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Normal bias value to be applied Offsets the GI sampling position along the surface normal to reduce self-occlusion and light leaking artifacts on geometry surfaces |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
--Apply a small normal bias to reduce surface artifacts
gfx.sdfgi.set_normal_bias(1.1)