31#ifndef __SO3SHADOW_H__
32#define __SO3SHADOW_H__
37#include "OgreCompositorInstance.h"
38#include "OgreCustomCompositionPass.h"
126 void SetCameraSetup(Ogre::ShadowCameraSetupPtr shadowCameraSetup);
142 Ogre::CompositorInstance* mCompInstance;
156 virtual void execute(Ogre::SceneManager* sm, Ogre::RenderSystem* rs);
174 virtual Ogre::CompositorInstance::RenderSystemOperation*
createOperation(Ogre::CompositorInstance* instance,
const Ogre::CompositionPass* pass);
virtual void UpdateShadowTechnique()=0
Ogre::ShadowCameraSetupPtr GetCameraSetup()
std::map< SViewPort *, SShadowViewport * > SHADOWViewportMap
SShadowManager * shadowManager
Ogre::ShadowCameraSetupPtr cameraSetup
Ogre::SceneManager * ogreScene
virtual void UpdateShadowMaterial(Ogre::Technique *tech)
virtual void RemoveMaterialPass(Ogre::Technique *tech)
SHADOWViewportMap viewportMap
void SetCameraSetup(Ogre::ShadowCameraSetupPtr shadowCameraSetup)
SShadowManager * GetShadowManager()
SShadowManager::ShadowType GetShadowType()
virtual bool IsShadowMaterialPass(Ogre::Pass *pass)
Ogre::PixelFormat mRttFormat
virtual ~SShadowViewport()
virtual void UpdateCamera(Ogre::Camera *cam)
Ogre::Viewport * targetViewport
virtual Ogre::CompositorInstance::RenderSystemOperation * createOperation(Ogre::CompositorInstance *instance, const Ogre::CompositionPass *pass)
virtual void execute(Ogre::SceneManager *sm, Ogre::RenderSystem *rs)
virtual ~ShadowCompositorRenderOperation()