OGRE-Next
3.0.0
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... | |
~PlaneOptimalShadowCameraSetup () override | |
Destructor. More... | |
void | getShadowCamera (const SceneManager *sm, const Camera *cam, const Light *light, Camera *texCam, size_t iteration, const Vector2 &viewportRealSize) 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 | |
ShadowCameraSetup () | |
virtual | ~ShadowCameraSetup () |
Need virtual destructor in case subclasses use it. More... | |
Real | getMaxDistance () const |
Real | getMinDistance () const |
Additional Inherited Members | |
Static Public Member Functions inherited from Ogre::ShadowCameraSetup | |
static void | setUseEsm (bool useEsm) |
Implements the plane optimal shadow camera algorithm.
Ogre::PlaneOptimalShadowCameraSetup::PlaneOptimalShadowCameraSetup | ( | MovablePlane * | plane | ) |
Constructor – requires a plane of interest.
|
override |
Destructor.
|
overridevirtual |
Returns shadow camera configured to get 1-1 homography between screen and shadow map when restricted to plane.
Implements Ogre::ShadowCameraSetup.