gfx.vol_fog.set_temporal_reprojection_amount

Client

Sets the temporal reprojection blend amount of the volumetric fog post-processing effect


Syntax

local status = gfx.vol_fog.set_temporal_reprojection_amount(
    value
)

Parameters

TypeNameDescription
floatvalueTemporal reprojection amount value to apply
Controls how heavily previous frames are blended into the current frame. Higher values produce smoother fog with less flickering but may introduce ghosting artifacts during fast camera movement

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set a high reprojection blend for smooth fog
gfx.vol_fog.set_temporal_reprojection_amount(0.9)

On this page