Vital.sandbox
GFXSSR

gfx.ssr.set_max_steps

Client

Sets the maximum number of ray march steps for the SSR post-processing effect


Syntax

local status = gfx.ssr.set_max_steps(value)

Parameters

TypeNameDescription
intvalueMaximum number of ray march steps to be set
Higher values produce more accurate reflections at the cost of performance

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

Set high quality reflections
gfx.ssr.set_max_steps(64)

On this page