Vital.sandbox
GFXSSAO

gfx.ssao.set_radius

Client

Sets the sampling radius of the SSAO post-processing effect


Syntax

local status = gfx.ssao.set_radius(value)

Parameters

TypeNameDescription
floatvalueRadius value to be applied
Larger values extend the reach of the occlusion shadow around geometry

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

Set a wider occlusion radius
gfx.ssao.set_radius(2.0)

On this page