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

Public Member Functions | |
| DtOsgEmissivityMapController (const DtOsgFileCache &fileCache) | |
| CTOR. | |
| virtual | ~DtOsgEmissivityMapController () |
| DTOR. | |
| virtual osg::Texture * | installEffectTexture (osg::Texture *baseTexture, int texUnit, osg::StateSet *stateSet, const osgDB::Options *dbOptions, const DtPossibleFileNamesCache &possibleFilenames) const |
| Install the effect texture from a list of possible effect texture names. | |
| virtual 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. | |
Public Member Functions inherited from makVrv::DtOsgEffectTextureController | |
| DtOsgEffectTextureController (const DtOsgFileCache &fileCache, int type, const std::string &effectTypeCode) | |
| CTOR. | |
| virtual const std::string & | effectTypeCode () const |
| The type code string for this effect. | |
| virtual int | effectTextureType () const |
| return the effect texture type | |
| 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. | |
Static Public Member Functions | |
| static osg::Uniform * | createLightRampUniform () |
| Creates a new light ramp uniform you can apply to a higher-up state set in OVERRIDE mode. | |
| static osg::Uniform * | getLightRampUniform (osg::StateSet *stateSet) |
| Access the uniform that controls how many emissive surfaces are active. | |
Additional Inherited Members | |
Protected Member Functions inherited from makVrv::DtOsgEffectTextureController | |
| virtual | ~DtOsgEffectTextureController () |
| DTOR. | |
| 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 | |
| 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 |
Installs and control emissivity mapping effects.
| makVrv::DtOsgEmissivityMapController::DtOsgEmissivityMapController | ( | const DtOsgFileCache & | fileCache | ) |
CTOR.
|
virtual |
DTOR.
|
static |
Creates a new light ramp uniform you can apply to a higher-up state set in OVERRIDE mode.
float[0..1]. The value specifies the amount of light currently in the scene - so smaller values turn on more lights.
|
static |
Access the uniform that controls how many emissive surfaces are active.
float[0..1]
|
virtual |
Install the effect texture from a list of possible effect texture names.
| baseTexture | The pointer of the base texture. |
| baseTexUnit | The texture unit of the base texture. |
| stateSet | The osg::StateSet that the base texture resides in. |
| dbOptions | The options passed from osg. |
| possibleFilenames | A list of of possible effect texture names. |
Reimplemented from makVrv::DtOsgEffectTextureController.
|
virtual |
install shaders for a stateset if required by this effect.
Reimplemented from makVrv::DtOsgEffectTextureController.