CustomPSSM3 Class Reference

Custom PSSM shadow receiver that overrides one deficient method in IntegratedPSSM3. More...

#include <CustomPSSMShadowCameraSetup.hh>

Inherits IntegratedPSSM3.

Public Member Functions

 CustomPSSM3 ()
 Constructor. More...
 
virtual const Ogre::String & getType () const override
 

Static Public Attributes

static Ogre::String Type
 Type of sub render state. More...
 

Protected Member Functions

virtual bool resolveParameters (Ogre::RTShader::ProgramSet *_programSet) override
 This is a duplicate of the method from the parent class with one line changed to use sampler2DShadow, enabling hardware PCF in GLSL. More...
 

Detailed Description

Custom PSSM shadow receiver that overrides one deficient method in IntegratedPSSM3.

Constructor & Destructor Documentation

◆ CustomPSSM3()

CustomPSSM3 ( )
inline

Constructor.

Member Function Documentation

◆ getType()

virtual const Ogre::String& getType ( ) const
overridevirtual

◆ resolveParameters()

virtual bool resolveParameters ( Ogre::RTShader::ProgramSet *  _programSet)
overrideprotectedvirtual

This is a duplicate of the method from the parent class with one line changed to use sampler2DShadow, enabling hardware PCF in GLSL.

Couldn't find a way with Ogre's API to simply call the parent class method and then modify the one uniform type.

See also
SubRenderState::resolveParameters.

Member Data Documentation

◆ Type

Ogre::String Type
static

Type of sub render state.


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