SO3Engine
|
SO3ShadowDeferred.cpp
Go to the documentation of this file.
18SShadowDeferred::SShadowDeferred(SShadowManager* sManager) : SShadow(sManager, "DEFERRED", SShadowManager::SO3_SHADOWS_DEFERRED)
25 ogreScene->setShadowTechnique(static_cast <Ogre::ShadowTechnique> (Ogre::SHADOWDETAILTYPE_TEXTURE | Ogre::SHADOWDETAILTYPE_INTEGRATED | shadowManager->GetLightingTechnique()));
28 //Use a value of "2" to use a different depth buffer pool and avoid sharing this with the Backbuffer's
29 ogreScene->setShadowTextureConfig(0, sManager->GetTextureSize(), sManager->GetTextureSize(), Ogre::PF_FLOAT16_R, 2);
40 Ogre::MaterialPtr passCaterMaterial = currentScene->O3MaterialManager->getByName("SO3/Deferred/Shadows/Caster");
58 Ogre::ShadowTechnique newTechnique = static_cast <Ogre::ShadowTechnique> (Ogre::SHADOWDETAILTYPE_TEXTURE | shadowManager->GetLightingTechnique());
virtual void UpdateShadowTechnique()
Definition SO3ShadowDeferred.cpp:56
Definition SO3Shadow.h:70
void SetCameraSetup(Ogre::ShadowCameraSetupPtr shadowCameraSetup)
Definition SO3Shadow.cpp:57
Definition SO3ShadowManager.h:43
ShadowLightingType GetLightingTechnique()
Definition SO3ShadowManager.cpp:76
Abstract class defining a shadow rendering technique. .
Definition SO3DataScol.h:38
Generated by 1.9.8