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 set
Higher values produce more accurate reflections at the cost of performance

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

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

On this page