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 apply
Controls how gradually reflections disappear toward the edges of the screen, reducing visible clipping artifacts

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

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

On this page