Occluders |
This topic explains how to define occluders.
In theory, any opaque object can act as an occluders. However, most in-game models are too complex to be considered as occluders. DigitalRune Graphics therefore uses "occlusion proxies". This means, occluders are artist-authored triangle meshes. These lightweight triangle meshes are used in place of the actual models during occlusion culling. Occluders are usually created as part of a model in the 3D modeling tool (see Asset Creation: Occluders). But they can also be created at runtime using code.
The class Occluder represents the occluder geometry. The Occluder can be assigned to a mesh (see property MeshOccluder) or to an OccluderNode.
The following scene nodes act as occluders during occlusion culling:
See Asset Creation: Occluders to learn how to import occluders using the content pipeline.