FfxBrixelizerHitWithNormal

A structure encapsulating the distance to a ray hit and the normal of the surface hit.

File location: sdk/include/FidelityFX/gpu/brixelizer/ffx_brixelizer_trace_ops.h

Detailed description

A structure encapsulating the distance to a ray hit and the normal of the surface hit.

Data fields

Type

Description

FfxFloat32

t
The distance from the ray origin to the hit.

FfxFloat32x3

normal
The normal of the SDF surface at the hit location.