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

Public Member Functions | |
| DtOsgEmissivityMapController (DtDe &de) | |
| CTOR. | |
| virtual | ~DtOsgEmissivityMapController () |
| DTOR. | |
| std::string | getEffectTypeCode () const |
| The type code string for this effect. | |
| osg::Texture * | installEffectTexture (osg::Texture *baseTexture, int texUnit, osg::StateSet *stateSet, const osgDB::Options *dbOptions) |
| Install the normal map texture + shaders on a state set. | |
| bool | generateShaders (int baseUnit, int effectUnit, osg::Texture *tex, osg::StateSet *stateSet) |
| Generates shaders for a stateset if required by this effect. | |
Public Member Functions inherited from makVrv::DtOsgEffectTextureController | |
| DtOsgEffectTextureController (DtDe &de) | |
| CTOR. | |
| 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 (osg::Texture *baseTexture, osg::StateSet *stateSet) const |
| True if there's already an effect texture installed on the given stateset that corresponds to the given base texture. | |
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 | |
| std::string | getTextureFilePath (osg::Texture *texture) const |
| std::string | getExtendedFileName (const std::string &baseFileName) const |
| void | getPossibleEffectTextureFileNames (const std::string &baseFileName, std::vector< std::string > &output) const |
| virtual | ~DtOsgEffectTextureController () |
| DTOR. | |
| void | applyDefaultShaderLODRanges (osgEarth::VirtualProgram *vp, const std::string &function) const |
Protected Attributes inherited from makVrv::DtOsgEffectTextureController | |
| std::string | myVertSource |
| std::string | myFragSource |
| float | myDefaultMaxRange |
| DtDe & | myDe |
| std::string | myShaderFolderPath |
Installs and control emissivity mapping effects.
| makVrv::DtOsgEmissivityMapController::DtOsgEmissivityMapController | ( | DtDe & | de | ) |
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]
|
inlinevirtual |
The type code string for this effect.
Implements makVrv::DtOsgEffectTextureController.
|
virtual |
Install the normal map texture + shaders on a state set.
Reimplemented from makVrv::DtOsgEffectTextureController.
|
virtual |
Generates shaders for a stateset if required by this effect.
Reimplemented from makVrv::DtOsgEffectTextureController.