Finality Engine
Loading...
Searching...
No Matches
SoftwareOcclusion.h File Reference

Filters packets using conservative current-frame CPU occlusion. More...

Go to the source code of this file.

Namespaces

namespace  FINALITY

Functions

void FINALITY::ApplySoftwareOcclusion (std::vector< RenderPacket > &packets, const RenderView &view, RenderStatistics &statistics)

Detailed Description

Filters packets using conservative current-frame CPU occlusion.

ApplySoftwareOcclusion rasterizes marked opaque occluder triangles into a bounded low-resolution depth buffer. Incomplete coverage, clipping and exhausted work budgets retain visibility rather than hiding uncertain geometry.

Usage
Enable through the camera/view policy and mark only suitable opaque geometry as occluders. Measure OcclusionMS against avoided work before enabling broadly; this is not GPU Hi-Z.

Definition in file SoftwareOcclusion.h.