OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
Implements the plane optimal shadow camera algorithm. More...
#include <OgreShadowCameraSetupPlaneOptimal.h>
Public Member Functions | |
PlaneOptimalShadowCameraSetup (MovablePlane *plane) | |
Constructor – requires a plane of interest. More... | |
virtual | ~PlaneOptimalShadowCameraSetup () |
Destructor. More... | |
virtual void | getShadowCamera (const SceneManager *sm, const Camera *cam, const Viewport *vp, const Light *light, Camera *texCam, size_t iteration) const |
Returns shadow camera configured to get 1-1 homography between screen and shadow map when restricted to plane. More... | |
Implements the plane optimal shadow camera algorithm.
Ogre::PlaneOptimalShadowCameraSetup::PlaneOptimalShadowCameraSetup | ( | MovablePlane * | plane | ) |
Constructor – requires a plane of interest.
|
virtual |
Destructor.
|
virtual |
Returns shadow camera configured to get 1-1 homography between screen and shadow map when restricted to plane.
Implements Ogre::ShadowCameraSetup.