17 #ifndef GZ_RENDERING_OGRE_OGRERTSHADERSYSTEM_HH_
18 #define GZ_RENDERING_OGRE_OGRERTSHADERSYSTEM_HH_
23 #include <gz/common/SingletonT.hh>
26 #include "gz/rendering/ogre/Export.hh"
32 inline namespace GZ_RENDERING_VERSION_NAMESPACE {
35 class OgreRTShaderSystemPrivate;
61 SSLM_NormalMapLightingObjectSpace
91 public:
void RemoveScene(
const std::string &_scene);
94 public:
void UpdateShaders();
107 public:
static void AttachViewport(Ogre::Viewport *_viewport,
113 public:
static void DetachViewport(Ogre::Viewport *_viewport,
118 public:
void SetPerPixelLighting(
bool _set);
126 public:
void GenerateShaders(
OgreSubMesh *_subMesh);
138 public: Ogre::PSSMShadowCameraSetup *PSSMShadowCameraSetup()
const;
151 public:
bool SetShadowTextureSize(
const unsigned int _size);
155 public:
unsigned int ShadowTextureSize()
const;
159 public:
bool IsInitialized()
const;
169 public:
void Update();