gfx.sdfgi.set_use_occlusion
Client
Toggles occlusion for the SDFGI post-processing effect
Syntax
local status = gfx.sdfgi.set_use_occlusion(
state
)Parameters
| Type | Name | Description |
|---|---|---|
bool | state | Determines whether occlusion is used: • When true - occlusion is enabled, preventing light from passing through solid geometry• When false - occlusion is disabled |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
gfx.sdfgi.set_use_occlusion(true)