Vital.sandbox
GFXSSR

gfx.ssr.set_fade_out

Client

Sets the fade-out distance of the SSR post-processing effect


Syntax

local status = gfx.ssr.set_fade_out(value)

Parameters

TypeNameDescription
floatvalueFade-out distance value to be applied
Controls how gradually reflections disappear toward the edges of the screen, reducing visible clipping artifacts

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

Set a gradual reflection fade-out
gfx.ssr.set_fade_out(2.0)

On this page