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 apply
Controls how gradually reflections appear as surfaces become more reflective, preventing hard edges at reflection boundaries

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

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

On this page