A node in the scene graph that can hold an occluder polygon, which must be a rectangle.
More...
A node in the scene graph that can hold an occluder polygon, which must be a rectangle.
When the occluder is activated with something like render.set_occluder(), then objects whose bouding volume lies entirely behind the occluder will not be rendered.
The default constructor creates a default occlusion polygon in the XZ plane (or XY plane in a y-up coordinate system).
Use the normal Panda set_pos(), set_hpr(), set_scale() to position it appropriately, or replace the vertices with set_vertices().
Reimplemented from PandaNode.