Vital.sandbox
GFXSSR

gfx.ssr.get_depth_tolerance

Client

Retrieves the current depth tolerance of the SSR post-processing effect


Syntax

local result = gfx.ssr.get_depth_tolerance()

Parameters

TypeNameDescription

Returns

TypeNameDescription
floatresultCurrent depth tolerance value

Examples

Get the current ssr depth tolerance
engine.print("info", "SSR depth tolerance:", gfx.ssr.get_depth_tolerance())

On this page