Skip to content

Documentation / scene / RGHistoryResources

Variable: RGHistoryResources

const RGHistoryResources: object

Defined in: libs/scene/src/render/rendergraph/history_resources.ts:2

Render graph history resource names.

Type Declaration

TAA_COLOR

readonly TAA_COLOR: "taaColor" = 'taaColor'

TAA_MOTION_VECTOR

readonly TAA_MOTION_VECTOR: "taaMotionVector" = 'taaMotionVector'

SSR_REFLECT

readonly SSR_REFLECT: "ssrReflect" = 'ssrReflect'

SSR_MOTION_VECTOR

readonly SSR_MOTION_VECTOR: "ssrMotionVector" = 'ssrMotionVector'

SSGI_SCENE_COLOR

readonly SSGI_SCENE_COLOR: "ssgiSceneColor" = 'ssgiSceneColor'

Opaque linear-HDR scene color sampled by SSGI rays on the next frame.

SSGI_IRRADIANCE

readonly SSGI_IRRADIANCE: "ssgiIrradiance" = 'ssgiIrradiance'

Denoised diffuse irradiance reprojected into the next frame's lighting pass.

SSGI_SURFACE

readonly SSGI_SURFACE: "ssgiSurface" = 'ssgiSurface'

Depth/normal surface data used to validate SSGI reprojection.

SSGI_MOMENTS

readonly SSGI_MOMENTS: "ssgiMoments" = 'ssgiMoments'

First and second luminance moments used by the SSGI temporal filter.

SSGI_AO

readonly SSGI_AO: "ssgiAO" = 'ssgiAO'

Temporally accumulated screen space ambient occlusion traced alongside SSGI.

WATER_CAUSTICS

readonly WATER_CAUSTICS: "waterCaustics" = 'waterCaustics'

Previous frame's resolved water caustic map.

Reprojected in light space rather than screen space: the map is an orthographic slice perpendicular to the sun, so it needs no motion vectors and survives the camera turning on the spot.

Released under the MIT License.