Skip to content

Variable: OcclusionShadersMode

const OcclusionShadersMode: object

Defined in: packages/core/src/depth/depth-occludable.ts:11

Occlusion shader mode for DepthOccludable.

Type Declaration

HardOcclusion

HardOcclusion: string = 'HardOcclusion'

Hard occlusion with a single depth sample per fragment.

MinMaxSoftOcclusion

MinMaxSoftOcclusion: string = 'MinMaxSoftOcclusion'

MinMax soft occlusion with depth preprocessing for edge-aware smooth edges.

SoftOcclusion

SoftOcclusion: string = 'SoftOcclusion'

Soft occlusion with 13-tap blur sampling for smooth edges.

Privacy | Terms