17 #ifndef IGNITION_RENDERING_OGRE_OGRERTSHADERSYSTEM_HH_ 18 #define IGNITION_RENDERING_OGRE_OGRERTSHADERSYSTEM_HH_ 26 #include "ignition/rendering/ogre/Export.hh" 32 inline namespace IGNITION_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();
Definition: OgreMesh.hh:104
LightingModel
The type of lighting.
Definition: OgreRTShaderSystem.hh:50
Per-Vertex lighting: best performance.
Definition: OgreRTShaderSystem.hh:53
Per-Pixel lighting: best look.
Definition: OgreRTShaderSystem.hh:55
Implements Ogre's Run-Time Shader system.
Definition: OgreRTShaderSystem.hh:45
Normal Map lighting: lighting calculations have been stored in a light map (texture) using tangent sp...
Definition: OgreRTShaderSystem.hh:58