FfxBrixelizerGIDispatchDescription

A structure encapsulating the parameters used for computing a dispatch by the Brixelizer GI context.

File location: sdk/include/FidelityFX/host/ffx_brixelizergi.h

Detailed description

A structure encapsulating the parameters used for computing a dispatch by the Brixelizer GI context.

Data fields

Type

Description

FfxFloat32x4x4

view
The view matrix for the scene in row major order.

FfxFloat32x4x4

projection
The projection matrix for the scene in row major order.

FfxFloat32x4x4

prevView
The view matrix for the previous frame of the scene in row major order.

FfxFloat32x4x4

prevProjection
The projection matrix for the scene in row major order.

FfxFloat32x3

cameraPosition
A 3-dimensional vector representing the position of the camera.

FfxUInt32

startCascade
The index of the start cascade for use with ray marching with Brixelizer.

FfxUInt32

endCascade
The index of the end cascade for use with ray marching with Brixelizer.

FfxFloat32

rayPushoff
The distance from a surface along the normal vector to offset the diffuse ray origin.

FfxFloat32

sdfSolveEps
The epsilon value for ray marching to be used with Brixelizer for diffuse rays.

FfxFloat32

specularRayPushoff
The distance from a surface along the normal vector to offset the specular ray origin.

FfxFloat32

specularSDFSolveEps
The epsilon value for ray marching to be used with Brixelizer for specular rays.

FfxFloat32

tMin
The TMin value for use with Brixelizer.

FfxFloat32

tMax
The TMax value for use with Brixelizer.

FfxResource

environmentMap
The environment map.

FfxResource

prevLitOutput
The lit output from the previous frame.

FfxResource

depth
The input depth buffer.

FfxResource

historyDepth
The previous frame input depth buffer.

FfxResource

normal
The input normal buffer.

FfxResource

historyNormal
The previous frame input normal buffer.

FfxResource

roughness
The resource containing roughness information.

FfxResource

motionVectors
The input motion vectors texture.

FfxResource

noiseTexture
The input blue noise texture.

FfxFloat32

normalsUnpackMul
A multiply factor to transform the normal to the space expected by Brixelizer GI.

FfxFloat32

normalsUnpackAdd
An offset to transform the normal to the space expected by Brixelizer GI.

FfxBoolean

isRoughnessPerceptual
A boolean to describe the space used to store roughness in the materialParameters texture. If false, we assume roughness squared was stored in the Gbuffer.

FfxUInt32

roughnessChannel
The channel to read the roughness from the roughness texture.

FfxFloat32

roughnessThreshold
Regions with a roughness value greater than this threshold won’t spawn specular rays.

FfxFloat32

environmentMapIntensity
The value to scale the contribution from the environment map.

FfxFloatCoords2D

motionVectorScale
The scale factor to apply to motion vectors.

FfxResource

sdfAtlas
The SDF Atlas resource used by Brixelizer.

FfxResource

bricksAABBs
The brick AABBs resource used by Brixelizer.

FfxResource

cascadeAABBTrees
The cascade AABB tree resources used by Brixelizer.

FfxResource

cascadeBrickMaps
The cascade brick map resources used by Brixelizer.

FfxResource

outputDiffuseGI
A texture to write the output diffuse GI calculated by Brixelizer GI.

FfxResource

outputSpecularGI
A texture to write the output specular GI calculated by Brixelizer GI.

FfxBrixelizerRawContext *

brixelizerContext
A pointer to the Brixelizer context for use with Brixelizer GI.