SO3Engine
|
SO3GBufferSchemeHandler.h
Go to the documentation of this file.
46 static const Ogre::String NORMAL_MAP_PATTERN1; //The string that will be checked in textures (unit name and texture file name) to determine whether they are normal maps.
53 static const Ogre::String SPECULAR_MAP_PATTERN1; //The string that will be checked in textures (unit name and texture file name) to determine whether they are specular maps.
55 static const Ogre::String LIGHT_MAP_PATTERN1; //The string that will be checked in textures (unit name and texture file name) to determine whether they are light maps.
60 struct PassProperties //A structure for containing the properties of a material, relevant to GBuffer rendering
96 virtual Ogre::Technique* handleSchemeNotFound(unsigned short schemeIndex, const Ogre::String& schemeName, Ogre::Material* originalMaterial, unsigned short lodIndex, const Ogre::Renderable* rend);
101 PassProperties InspectPass(Ogre::Pass* pass, unsigned short lodIndex, const Ogre::Renderable* rend);
116 bool CheckNormalMap(Ogre::TextureUnitState* tus, PassProperties& props, const Ogre::String& lowerCaseName, const Ogre::String& lowerCaseAlias, const Ogre::String& lowerCaseFileName);
121 bool CheckSpecularMap(Ogre::TextureUnitState* tus, PassProperties& props, const Ogre::String& lowerCaseName, const Ogre::String& lowerCaseAlias, const Ogre::String& lowerCaseFileName);
126 bool CheckLightMap(Ogre::TextureUnitState* tus, PassProperties& props, const Ogre::String& lowerCaseName, const Ogre::String& lowerCaseAlias, const Ogre::String& lowerCaseFileName);
static const Ogre::String NORMAL_MAP_PATTERN1
Definition SO3GBufferSchemeHandler.h:46
PassProperties InspectPass(Ogre::Pass *pass, unsigned short lodIndex, const Ogre::Renderable *rend)
Definition SO3GBufferSchemeHandler.cpp:135
static const Ogre::String NORMAL_MAP_PATTERN3
Definition SO3GBufferSchemeHandler.h:48
static const Ogre::String LIGHT_MAP_PATTERN1
Definition SO3GBufferSchemeHandler.h:55
static const Ogre::String NORMAL_MAP_PATTERN7
Definition SO3GBufferSchemeHandler.h:52
void FillPass(Ogre::Pass *gBufferPass, Ogre::Pass *originalPass, const PassProperties &props)
Definition SO3GBufferSchemeHandler.cpp:399
bool CheckSpecularMap(Ogre::TextureUnitState *tus, PassProperties &props, const Ogre::String &lowerCaseName, const Ogre::String &lowerCaseAlias, const Ogre::String &lowerCaseFileName)
Definition SO3GBufferSchemeHandler.cpp:252
static const Ogre::String LIGHT_MAP_PATTERN2
Definition SO3GBufferSchemeHandler.h:56
static const Ogre::String NORMAL_MAP_PATTERN5
Definition SO3GBufferSchemeHandler.h:50
static const Ogre::String NORMAL_MAP_PATTERN6
Definition SO3GBufferSchemeHandler.h:51
SGBufferMaterialPermutation GetPermutation(const PassProperties &props)
Definition SO3GBufferSchemeHandler.cpp:336
static const Ogre::String LIGHT_MAP_PATTERN3
Definition SO3GBufferSchemeHandler.h:57
static const Ogre::String SPECULAR_MAP_PATTERN1
Definition SO3GBufferSchemeHandler.h:53
virtual Ogre::Technique * handleSchemeNotFound(unsigned short schemeIndex, const Ogre::String &schemeName, Ogre::Material *originalMaterial, unsigned short lodIndex, const Ogre::Renderable *rend)
Definition SO3GBufferSchemeHandler.cpp:61
bool CheckNormalMap(Ogre::TextureUnitState *tus, PassProperties &props, const Ogre::String &lowerCaseName, const Ogre::String &lowerCaseAlias, const Ogre::String &lowerCaseFileName)
Definition SO3GBufferSchemeHandler.cpp:204
SGBufferMaterialGenerator * materialGenerator
Definition SO3GBufferSchemeHandler.h:59
static const Ogre::String NORMAL_MAP_PATTERN2
Definition SO3GBufferSchemeHandler.h:47
bool CheckLightMap(Ogre::TextureUnitState *tus, PassProperties &props, const Ogre::String &lowerCaseName, const Ogre::String &lowerCaseAlias, const Ogre::String &lowerCaseFileName)
Definition SO3GBufferSchemeHandler.cpp:291
static const Ogre::String SPECULAR_MAP_PATTERN2
Definition SO3GBufferSchemeHandler.h:54
static const Ogre::String NORMAL_MAP_PATTERN4
Definition SO3GBufferSchemeHandler.h:49
Definition SO3DataScol.h:38
Ogre::vector< Ogre::TextureUnitState * >::type regularTextures
Definition SO3GBufferSchemeHandler.h:63
bool hasDiffuseColour
Definition SO3GBufferSchemeHandler.h:68
bool isSkinned
Definition SO3GBufferSchemeHandler.h:67
bool hasAlphaRejection
Definition SO3GBufferSchemeHandler.h:71
bool isDeferred
Definition SO3GBufferSchemeHandler.h:62
Ogre::TextureUnitState * normalMap
Definition SO3GBufferSchemeHandler.h:64
bool hasSpecularColour
Definition SO3GBufferSchemeHandler.h:69
Ogre::TextureUnitState * lightMap
Definition SO3GBufferSchemeHandler.h:66
PassProperties()
Definition SO3GBufferSchemeHandler.h:74
bool hasEmissiveColour
Definition SO3GBufferSchemeHandler.h:70
Ogre::TextureUnitState * specularMap
Definition SO3GBufferSchemeHandler.h:65
Generated by 1.9.8