OGRE
13.6
Object-Oriented Graphics Rendering Engine
|
Implements the plane optimal shadow camera algorithm. More...
#include <OgreShadowCameraSetupPlaneOptimal.h>
Public Member Functions | |
PlaneOptimalShadowCameraSetup (const MovablePlane *plane) | |
virtual | ~PlaneOptimalShadowCameraSetup () |
void | getShadowCamera (const SceneManager *sm, const Camera *cam, const Viewport *vp, const Light *light, Camera *texCam, size_t iteration) const override |
Returns shadow camera configured to get 1-1 homography between screen and shadow map when restricted to plane. More... | |
Public Member Functions inherited from Ogre::ShadowCameraSetup | |
virtual | ~ShadowCameraSetup () |
Need virtual destructor in case subclasses use it. More... | |
Static Public Member Functions | |
static ShadowCameraSetupPtr | create (const MovablePlane *plane) |
Constructor – requires a plane of interest. More... | |
Implements the plane optimal shadow camera algorithm.
Ogre::PlaneOptimalShadowCameraSetup::PlaneOptimalShadowCameraSetup | ( | const MovablePlane * | plane | ) |
|
virtual |
|
inlinestatic |
Constructor – requires a plane of interest.
|
overridevirtual |
Returns shadow camera configured to get 1-1 homography between screen and shadow map when restricted to plane.
Implements Ogre::ShadowCameraSetup.