Occluder
An occluder is a box-shaped object that is used to cull objects' surfaces, bounds of which are not visible behind it. The surfaces behind the occluder are not sent to the GPU, thereby saving performance.
Depending on the Back faceparameter value, the front or back faces of the occluder are used to cull surfaces. Thefront faces of the occluder include all of the occluder sides that face the camera. The back faces of the occluder include the sides that are behind the front faces.
Schematically, the occluder faces can be shown as follows:
Front faces of the occluder
|
Back faces of the occluder
|
If any part of the bound of the object's surface is visible behind the occluder, the surface will not be culled.
See also
- General information on occluders
- A WorldOccluderclass to edit occluders via UnigineScript
- A data/samples/worlds/occluder_00 sample
Creating Occluder
To create an occluder via UnigineEditor:
- Run UnigineEditor.
- On the Menu bar, click Create -> Worlds -> Occluder.
- Place the occluder in the world and specify the required parameters for it.
To display the buffer that is used for occluders displayed in the viewport, pass 1 to the render_show_occluder
console command.
Editing Occluder
On the Occluder tab of the Nodespanel, you can adjust the following parameters of the occluder:
Last update: 03.07.2017
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter