gfx.vol_fog.set_temporal_reprojection_enabled
Client
Toggles temporal reprojection for the volumetric fog post-processing effect
Syntax
local status = gfx.vol_fog.set_temporal_reprojection_enabled(
state
)Parameters
| Type | Name | Description |
|---|---|---|
bool | state | Determines whether temporal reprojection is used: • When true - temporal reprojection is enabled, reusing data from previous frames to smooth out the fog at a lower per-frame cost• When false - temporal reprojection is disabled |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
gfx.vol_fog.set_temporal_reprojection_enabled(true)