Vital.sandbox
GFXVolumetric Fog

gfx.volumetric_fog.set_temporal_reprojection_amount

Client

The temporal reprojection blend amount to be set for the volumetric fog post-processing effect


Syntax

local status = gfx.volumetric_fog.set_temporal_reprojection_amount(value)

Parameters

TypeNameDescription
floatvalueTemporal reprojection amount value to be applied
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, or false on failure

Examples

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

On this page