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 |
---|---|
view
The view matrix for the scene in row major order.
|
|
projection
The projection matrix for the scene in row major order.
|
|
prevView
The view matrix for the previous frame of the scene in row major order.
|
|
prevProjection
The projection matrix for the scene in row major order.
|
|
cameraPosition
A 3-dimensional vector representing the position of the camera.
|
|
startCascade
The index of the start cascade for use with ray marching with Brixelizer.
|
|
endCascade
The index of the end cascade for use with ray marching with Brixelizer.
|
|
rayPushoff
The distance from a surface along the normal vector to offset the diffuse ray origin.
|
|
sdfSolveEps
The epsilon value for ray marching to be used with Brixelizer for diffuse rays.
|
|
specularRayPushoff
The distance from a surface along the normal vector to offset the specular ray origin.
|
|
specularSDFSolveEps
The epsilon value for ray marching to be used with Brixelizer for specular rays.
|
|
tMin
The TMin value for use with Brixelizer.
|
|
tMax
The TMax value for use with Brixelizer.
|
|
environmentMap
The environment map.
|
|
prevLitOutput
The lit output from the previous frame.
|
|
depth
The input depth buffer.
|
|
historyDepth
The previous frame input depth buffer.
|
|
normal
The input normal buffer.
|
|
historyNormal
The previous frame input normal buffer.
|
|
roughness
The resource containing roughness information.
|
|
motionVectors
The input motion vectors texture.
|
|
noiseTexture
The input blue noise texture.
|
|
normalsUnpackMul
A multiply factor to transform the normal to the space expected by Brixelizer GI.
|
|
normalsUnpackAdd
An offset to transform the normal to the space expected by Brixelizer GI.
|
|
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.
|
|
roughnessChannel
The channel to read the roughness from the roughness texture.
|
|
roughnessThreshold
Regions with a roughness value greater than this threshold won’t spawn specular rays.
|
|
environmentMapIntensity
The value to scale the contribution from the environment map.
|
|
motionVectorScale
The scale factor to apply to motion vectors.
|
|
sdfAtlas
The SDF Atlas resource used by Brixelizer.
|
|
bricksAABBs
The brick AABBs resource used by Brixelizer.
|
|
cascadeAABBTrees
The cascade AABB tree resources used by Brixelizer.
|
|
cascadeBrickMaps
The cascade brick map resources used by Brixelizer.
|
|
outputDiffuseGI
A texture to write the output diffuse GI calculated by Brixelizer GI.
|
|
outputSpecularGI
A texture to write the output specular GI calculated by Brixelizer GI.
|
|
brixelizerContext
A pointer to the Brixelizer context for use with Brixelizer GI.
|