Public Member Functions |
| | DtNightTextureController (DtOsgFileCache &fileCache, DtOsgShaderManager &shaderMgr, bool preLit) |
| | CTOR.
|
| virtual | ~DtNightTextureController () |
| | DTOR.
|
| std::string | getEffectTypeCode () const |
| | The type code string for this effect.
|
| bool | generateShaders (int baseUnit, int effectUnit, osg::Texture *tex, osg::StateSet *stateSet, const std::string &baseTextureName) |
| | Generates shaders for a stateset if required by this effect.
|
| | DtOsgEffectTextureController (DtOsgFileCache &fileCache, DtOsgShaderManager &shaderMgr) |
| | CTOR.
|
| virtual osg::Texture * | installEffectTexture (osg::Texture *baseTexture, int texUnit, osg::StateSet *stateSet, const osgDB::Options *dbOptions, const FilenameMap &possibleFilenames) |
| | Install the normal map texture + shaders on a state set.
|
| virtual void | findEffectTexture (const std::string &baseTextureName, const osgDB::Options *dbOptions, const FilenameMap &possibleFilenames, const osg::Texture *baseTexture, osg::ref_ptr< osg::Texture > &effectTexture) |
| | Find the effect texture for this effect, if one exists.
|
| virtual bool | isEffectTexture (osg::Texture *tex) const |
| | \brief True if the provided texture is an effect texture of this object's type.
|
| virtual bool | effectTextureInstalled (const std::string &baseTextureName, osg::StateSet *stateSet) const |
| | True if there's already an effect texture installed on the given stateset that corresponds to the given base texture.
|
| std::string | getExtendedFileName (const std::string &baseFileName) const |
| void | getPossibleEffectTextureFileNames (const std::string &baseFileName, std::vector< std::string > &output) const |
Installs and control reflectivity mapping effects.