GFXSSR
gfx.ssr.set_depth_tolerance
Client
Sets the depth tolerance of the SSR post-processing effect
Syntax
local status = gfx.ssr.set_depth_tolerance(value)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Depth tolerance value to be applied Determines how much depth difference is allowed before a ray march hit is rejected. Higher values produce softer, more forgiving reflections while lower values yield sharper, stricter results |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
gfx.ssr.set_depth_tolerance(0.2)