OGRE-Next  4.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::DefaultShadowCameraSetup Class Reference

Implements default shadow camera setup. More...

#include <OgreShadowCameraSetup.h>

+ Inheritance diagram for Ogre::DefaultShadowCameraSetup:

Public Member Functions

 DefaultShadowCameraSetup ()
 Default constructor. More...
 
 ~DefaultShadowCameraSetup () override
 Destructor. More...
 
void getShadowCamera (const SceneManager *sm, const Camera *cam, const Light *light, Camera *texCam, size_t iteration, const Vector2 &viewportRealSize) const override
 Default shadow camera setup. 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)
 

Detailed Description

Implements default shadow camera setup.

Remarks
This implements the default shadow camera setup algorithm. This is what might be referred to as "normal" shadow mapping.

Constructor & Destructor Documentation

◆ DefaultShadowCameraSetup()

Ogre::DefaultShadowCameraSetup::DefaultShadowCameraSetup ( )

Default constructor.

◆ ~DefaultShadowCameraSetup()

Ogre::DefaultShadowCameraSetup::~DefaultShadowCameraSetup ( )
override

Destructor.

Member Function Documentation

◆ getShadowCamera()

void Ogre::DefaultShadowCameraSetup::getShadowCamera ( const SceneManager sm,
const Camera cam,
const Light light,
Camera texCam,
size_t  iteration,
const Vector2 viewportRealSize 
) const
overridevirtual

The documentation for this class was generated from the following file: