Vital.sandbox
GFXSSR

gfx.ssr.set_fade_in

Client

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


Syntax

local status = gfx.ssr.set_fade_in(value)

Parameters

TypeNameDescription
floatvalueFade-in distance value to be applied
Controls how gradually reflections appear as surfaces become more reflective, preventing hard edges at reflection boundaries

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

Set a smooth reflection fade-in
gfx.ssr.set_fade_in(0.15)

On this page