Scene node for rendering a shadow volume into a stencil buffer. More...
#include <IShadowVolumeSceneNode.h>
Scene node for rendering a shadow volume into a stencil buffer.
Definition at line 17 of file IShadowVolumeSceneNode.h.
irr::scene::IShadowVolumeSceneNode::IShadowVolumeSceneNode | ( | ISceneNode * | parent, |
ISceneManager * | mgr, | ||
s32 | id | ||
) | [inline] |
constructor
Definition at line 22 of file IShadowVolumeSceneNode.h.
virtual void irr::scene::IShadowVolumeSceneNode::setShadowMesh | ( | const IMesh * | mesh | ) | [pure virtual] |
Sets the mesh from which the shadow volume should be generated.
To optimize shadow rendering, use a simpler mesh for shadows.
virtual void irr::scene::IShadowVolumeSceneNode::updateShadowVolumes | ( | ) | [pure virtual] |
Updates the shadow volumes for current light positions.