SO3Engine
|
SO3ShadowCSM.h
Go to the documentation of this file.
86 void calculateSplitPoints(size_t cascadeCount, Ogre::Real firstSplitDist, Ogre::Real farDist, Ogre::Real lambda = 0.95);
107 const Ogre::Viewport *vp, const Ogre::Light *light, Ogre::Camera *texCam, size_t iteration) const;
161 virtual Ogre::Technique* handleSchemeNotFound(unsigned short schemeIndex, const Ogre::String& schemeName, Ogre::Material* originalMaterial, unsigned short lodIndex, const Ogre::Renderable* rend);
Definition SO3ShadowCSM.h:43
static CSMGpuConstants & getSingleton()
Definition SO3ShadowCSM.cpp:590
static CSMGpuConstants * getSingletonPtr()
Definition SO3ShadowCSM.cpp:582
void updateCascade(const Ogre::Camera &texCam, size_t index)
Definition SO3ShadowCSM.cpp:625
Definition SO3ShadowCSM.h:169
virtual void RemoveMaterialPass(Ogre::Technique *tech)
Definition SO3ShadowCSM.cpp:144
static bool CheckSystemCompatibility()
Definition SO3ShadowCSM.cpp:22
virtual bool IsShadowMaterialPass(Ogre::Pass *pass)
Definition SO3ShadowCSM.cpp:136
virtual void UpdateShadowMaterial(Ogre::Technique *tech)
Definition SO3ShadowCSM.cpp:165
virtual void UpdateShadowTechnique()
Definition SO3ShadowCSM.cpp:131
Definition SO3Shadow.h:70
Definition SO3ShadowManager.h:43
Definition SO3ShadowCSM.h:133
~SShadowViewportCSM()
virtual Ogre::Technique * handleSchemeNotFound(unsigned short schemeIndex, const Ogre::String &schemeName, Ogre::Material *originalMaterial, unsigned short lodIndex, const Ogre::Renderable *rend)
virtual void UpdateCamera(Ogre::Camera *cam)
SShadowViewportCSM(Ogre::Viewport *viewport)
Definition SO3Shadow.h:46
void calculateSplitPoints(size_t cascadeCount, Ogre::Real firstSplitDist, Ogre::Real farDist, Ogre::Real lambda=0.95)
Definition SO3ShadowCSM.cpp:397
Ogre::Real getSplitPadding() const
Definition SO3ShadowCSM.h:101
virtual void getShadowCamera(const Ogre::SceneManager *sm, const Ogre::Camera *cam, const Ogre::Viewport *vp, const Ogre::Light *light, Ogre::Camera *texCam, size_t iteration) const
Returns a stable CSM shadow camera for the given iteration.
Definition SO3ShadowCSM.cpp:428
void setSplitPadding(Ogre::Real pad)
Definition SO3ShadowCSM.h:96
void setSplitPoints(const SplitPointList &newSplitPoints)
Definition SO3ShadowCSM.cpp:419
~StableCSMShadowCameraSetup()
Definition SO3ShadowCSM.cpp:393
void getShadowCameraForCascade(const Ogre::SceneManager *sm, const Ogre::Camera *cam, const Ogre::Viewport *vp, const Ogre::Light *light, Ogre::Camera *texCam, size_t iteration, Ogre::Real nearSplit, Ogre::Real farSplit) const
Definition SO3ShadowCSM.cpp:452
size_t mCurrentIteration
Definition SO3ShadowCSM.h:123
const SplitPointList & getSplitPoints() const
Returns the calculated split points.
Definition SO3ShadowCSM.h:110
SplitPointList mSplitPoints
Definition SO3ShadowCSM.h:120
std::vector< Ogre::Real > SplitPointList
Definition SO3ShadowCSM.h:74
Definition SO3DataScol.h:38
Generated by 1.9.8