gfx.sdfgi.set_cascades

Client

Sets the number of cascades of SDFGI post-processing effect


Syntax

local status = gfx.sdfgi.set_cascades(
    value
)

Parameters

TypeNameDescription
intvalueNumber of cascades to apply
Higher values extend the range of the global illumination by adding more levels of detail at increasing distances from the camera, at the cost of performance

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set a high cascade count for large open environments
gfx.sdfgi.set_cascades(8)

On this page