25 #ifndef __I6ENGINE_MODULES_GLOWMATERIALLISTENER_H__
26 #define __I6ENGINE_MODULES_GLOWMATERIALLISTENER_H__
29 #include "OgreMaterialManager.h"
37 _mBlackMat = Ogre::MaterialManager::getSingleton().create(
"mGlowBlack",
"Internal");
38 _mBlackMat->getTechnique(0)->getPass(0)->setDiffuse(0, 0, 0, 0);
39 _mBlackMat->getTechnique(0)->getPass(0)->setSpecular(0, 0, 0, 0);
40 _mBlackMat->getTechnique(0)->getPass(0)->setAmbient(0, 0, 0);
41 _mBlackMat->getTechnique(0)->getPass(0)->setSelfIllumination(0, 0, 0);
44 Ogre::Technique *
handleSchemeNotFound(
unsigned short,
const Ogre::String & schemeName, Ogre::Material * mat,
unsigned short,
const Ogre::Renderable *) {
45 if (schemeName ==
"glow") {
Ogre::Technique * handleSchemeNotFound(unsigned short, const Ogre::String &schemeName, Ogre::Material *mat, unsigned short, const Ogre::Renderable *)
Ogre::MaterialPtr _mBlackMat