gfx.ssao.set_radius
Client
Sets the sampling radius of the SSAO post-processing effect
Syntax
local status = gfx.ssao.set_radius(
value
)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Radius value to apply Larger values extend the reach of the occlusion shadow around geometry |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
gfx.ssao.set_radius(2.0)