FfxSssrDispatchDescription
struct FfxSssrDispatchDescriptionA structure encapsulating the parameters for dispatching the various passes of FidelityFX Stochastic Screen Space Reflections.
Dependencies: FfxDimensions2D, FfxFloatCoords2D, FfxResource
Public Interface
Public Members:
FfxCommandList commandList
FfxCommandList commandListThe FfxCommandList to record SSSR rendering commands into.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 112, column 25)
FfxResource color
FfxResource colorA FfxResource containing the color buffer for the current frame.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 113, column 25)
FfxResource depth
FfxResource depthA FfxResource containing the depth buffer for the current frame.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 114, column 25)
FfxResource motionVectors
FfxResource motionVectorsA FfxResource containing the motion vectors buffer for the current frame.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 115, column 25)
FfxResource normal
FfxResource normalA FfxResource containing the normal buffer for the current frame.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 116, column 25)
FfxResource materialParameters
FfxResource materialParametersA FfxResource containing the roughness buffer for the current frame.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 117, column 25)
FfxResource environmentMap
FfxResource environmentMapA FfxResource containing the environment map to fallback to when screenspace data is not sufficient.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 118, column 25)
FfxResource brdfTexture
FfxResource brdfTextureA FfxResource containing the precomputed brdf LUT.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 119, column 25)
FfxResource output
FfxResource outputA FfxResource to store the result of the SSSR algorithm into.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 120, column 25)
float invViewProjection
float invViewProjectionAn array containing the inverse of the view projection matrix in column major layout.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 121, column 25)
float projection
float projectionAn array containing the projection matrix in column major layout.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 122, column 25)
float invProjection
float invProjectionAn array containing the inverse of the projection matrix in column major layout.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 123, column 25)
float view
float viewAn array containing the view matrix in column major layout.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 124, column 25)
float invView
float invViewAn array containing the inverse of the view matrix in column major layout.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 125, column 25)
float prevViewProjection
float prevViewProjectionAn array containing the previous frame’s view projection matrix in column major layout.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 126, column 25)
FfxDimensions2D renderSize
FfxDimensions2D renderSizeThe resolution that was used for rendering the input resources.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 127, column 25)
FfxFloatCoords2D motionVectorScale
FfxFloatCoords2D motionVectorScaleThe scale factor to apply to motion vectors.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 128, column 25)
float iblFactor
float iblFactorA factor to control the intensity of the image based lighting. Set to 1 for an HDR probe.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 129, column 25)
float normalUnPackMul
float normalUnPackMulA multiply factor to transform the normal to the space expected by SSSR.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 130, column 25)
float normalUnPackAdd
float normalUnPackAddAn offset to transform the normal to the space expected by SSSR.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 131, column 25)
uint32_t roughnessChannel
uint32_t roughnessChannelThe channel to read the roughness from the materialParameters texture.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 132, column 25)
bool isRoughnessPerceptual
bool isRoughnessPerceptualA boolean to describe the space used to store roughness in the materialParameters texture. If false, we assume roughness squared was stored in the Gbuffer.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 133, column 25)
float temporalStabilityFactor
float temporalStabilityFactorA factor to control the accmulation of history values. Higher values reduce noise, but are more likely to exhibit ghosting artefacts.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 134, column 25)
float depthBufferThickness
float depthBufferThicknessA bias for accepting hits. Larger values can cause streaks, lower values can cause holes.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 135, column 25)
float roughnessThreshold
float roughnessThresholdRegions with a roughness value greater than this threshold won’t spawn rays.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 136, column 25)
float varianceThreshold
float varianceThresholdLuminance differences between history results will trigger an additional ray if they are greater than this threshold value.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 137, column 25)
uint32_t maxTraversalIntersections
uint32_t maxTraversalIntersectionsCaps the maximum number of lookups that are performed from the depth buffer hierarchy. Most rays should terminate after approximately 20 lookups.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 138, column 25)
uint32_t minTraversalOccupancy
uint32_t minTraversalOccupancyExit the core loop early if less than this number of threads are running.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 139, column 25)
uint32_t mostDetailedMip
uint32_t mostDetailedMipThe most detailed MIP map level in the depth hierarchy. Perfect mirrors always use 0 as the most detailed level.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 140, column 25)
uint32_t samplesPerQuad
uint32_t samplesPerQuadThe minimum number of rays per quad. Variance guided tracing can increase this up to a maximum of 4.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 141, column 25)
uint32_t temporalVarianceGuidedTracingEnabled
uint32_t temporalVarianceGuidedTracingEnabledA boolean controlling whether a ray should be spawned on pixels where a temporal variance is detected or not.
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 142, column 25)
Source: sdk/include/FidelityFX/host/ffx_sssr.h (line 110, column 1)