![]() |
VR-Forces 4.8 Class Documentation
|
Installs and control normal mapping effects. More...

Public Member Functions | |
| DtOsgNormalMapController (DtDe &de) | |
| CTOR. More... | |
| virtual | ~DtOsgNormalMapController () |
| DTOR. More... | |
| bool | installShaders (int baseUnit, int effectUnit, const osg::Texture *tex, osg::StateSet *stateSet, const std::string &baseTextureName) const |
| install shaders for a stateset if required by this effect. More... | |
Public Member Functions inherited from makVrv::DtOsgEffectTextureController | |
| DtOsgEffectTextureController (DtDe &de, int type, const std::string &effectTypeCode) | |
| CTOR. More... | |
| virtual const std::string & | effectTypeCode () const |
| The type code string for this effect. More... | |
| virtual int | effectTextureType () const |
| return the effect texture type More... | |
| virtual osg::Texture * | installEffectTexture (osg::Texture *baseTexture, int baseTexUnit, osg::StateSet *stateSet, const osgDB::Options *dbOptions, const DtPossibleFileNamesCache &possibleFilenames) const |
| Install the effect texture from a list of possible effect texture names. More... | |
| virtual void | findEffectTexture (const std::string &baseTextureName, const osgDB::Options *dbOptions, const DtPossibleFileNamesCache &possibleFilenames, const osg::Texture *baseTexture, osg::ref_ptr< osg::Texture > &effectTexture) const |
| Find the effect texture for this effect, if one exists. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from makVrv::DtOsgEffectTextureController | |
| virtual | ~DtOsgEffectTextureController () |
| DTOR. More... | |
| virtual osgEarth::VirtualProgram * | installVirtualProgram (int baseUnit, int effectUnit, const osg::Texture *tex, osg::StateSet *stateSet, const std::string &baseTextureName, const DtVirtualProgramParams ¶ms) const |
| installer helper function More... | |
| virtual void | applyDefaultShaderLODRanges (osgEarth::VirtualProgram *vp, const std::string &function) const |
Protected Attributes inherited from makVrv::DtOsgEffectTextureController | |
| const int | myEffectTextureType |
| const std::string | myEffectTypeCode |
| float | myDefaultMaxRange |
| const DtOsgFileCache & | myFileCache |
| DtDe & | myDe |
Installs and control normal mapping effects.
The normal map is encoded as a 3 channel tangent space normal map
| makVrv::DtOsgNormalMapController::DtOsgNormalMapController | ( | DtDe & | de | ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
install shaders for a stateset if required by this effect.
Reimplemented from makVrv::DtOsgEffectTextureController.