This page has been translated automatically.
Programming
Fundamentials
Setting Up Development Environment
UnigineScript
High-Level Systems
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Core Library
Containers
Engine Classes
Node-Related Classes
Rendering-Related Classes
Physics-Related Classes
Bounds-Related Classes
GUI-Related Classes
Controls-Related Classes
Pathfinding-Related Classes
Utility Classes
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

Occluders

An occluder is an object that is used to cull objects' surfaces, bounds of which are not visible behind it.

Notice
Mesh Clutters cannot be culled by occluders.

Occluders can be highly effective in case of complex environments where there are many objects that occlude each other and are costly to render (they have a lot of polygons and/or heavy shaders). However, effective culling is possible only if objects are not too large. If objects are big and have a few surfaces, it is likely that an additional performance load of an occluder will not pay off.

Notice
If the scene is filled with flat objects or a camera looks down on the scene from above (for example, in flight simulators), it is better not to use occluders at all or disable them.

Occluders are rendered by the CPU and stored in a separate buffer. Only the occluders that are displayed in the viewport are saved to the buffer. To display the buffer, you should pass 1 to the render_show_occluder console command:

Shell commands
render_show_occluder 1
The buffer will open in the upper left corner:

The simplified occluder that is stored in the buffer
Notice
The buffer is rendered in a low resolution.

Types of Occluders

There are three types of occluders:

Last update: 2017-07-03
Build: ()