Defines the depth compare function to be used to decide sample weights.
More...
#include <LSAOPass.h>
Defines the depth compare function to be used to decide sample weights.
◆ Enum
| Enumerator |
|---|
| Depth | A hard cutoff function between the linear depth values. Samples with an absolute distance greater than ezLSAOPass::SetDepthCutoffDistance are ignored.
|
| Normal | Samples that are on the same plane as constructed by the center position and normal will be weighted higher than those samples that are above or below the plane.
|
| NormalAndSampleDistance | Same as Normal, but if two samples are tested, their distance to the center position is is inversely multiplied as well, giving closer matches a higher weight.
|
The documentation for this struct was generated from the following file:
- /home/runner/work/ezEngine/ezEngine/Code/Engine/RendererCore/Pipeline/Passes/LSAOPass.h