gfx.sdfgi.set_min_cell_size

Client

Sets the minimum cell size of SDFGI post-processing effect


Syntax

local status = gfx.sdfgi.set_min_cell_size(
    value
)

Parameters

TypeNameDescription
floatvalueMinimum cell size value to apply
Controls the resolution of the innermost SDFGI cascade. Smaller values capture finer scene detail near the camera but increase memory and computation cost

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set a fine-grained cell size for detailed near-field GI
gfx.sdfgi.set_min_cell_size(0.2)

On this page