GFXSDFGI
gfx.sdfgi.set_cascades
Client
The number of cascades to be set for the SDFGI post-processing effect
Syntax
local status = gfx.sdfgi.set_cascades(value)Parameters
| Type | Name | Description |
|---|---|---|
int | value | Number of cascades to be applied 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
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
--Set a high cascade count for large open environments
gfx.sdfgi.set_cascades(8)