Vital.sandbox
GFXSDFGI

gfx.sdfgi.set_y_scale

Client

The Y-axis scale mode to be set for the SDFGI post-processing effect


Syntax

local status = gfx.sdfgi.set_y_scale(value)

Parameters

TypeNameDescription
intvalueY scale mode to be applied
Controls how tightly SDFGI cells are packed along the Y axis. Lower values pack cells closer together vertically, improving quality in scenes with significant vertical range or fast vertical camera movement:
0 - 50% vertical scale
1 - 75% vertical scale
2 - 100% vertical scale

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

Set tighter vertical packing for a tall vertical scene
--Set tighter vertical packing for a tall vertical scene
gfx.sdfgi.set_y_scale(0)

On this page