15 #include <osgDB/Options>
17 #include <osg/NodeVisitor>
18 #include <osg/ExtendedMaterial>
24 class DtOsgEffectTextureController;
26 class DtOsgShaderManager;
44 virtual void setDbOptions(
const osgDB::Options* options);
55 virtual unsigned numEffectTexturesInstalled()
const;
57 static const char* ignoreHint(
void);
61 void apply(osg::Node& node);
62 void apply(osg::Geode& geode);
70 void apply(osg::StateSet* stateSet);
73 virtual bool isEffectTexture(
osg::Texture* tex,
const std::string& texName)
const;
77 virtual bool checkIfAlreadyVisited(osg::StateSet* stateSet, osg::ExtendedMaterial* extendedMaterial);
82 virtual void installEffectTexture(osg::StateSet* stateSet,
osg::Texture* baseTexture,
int baseUnit,
83 osg::ExtendedMaterial* extendedMaterial);
90 , osg::StateSet* stateSet,
osg::Texture* baseTexture,
int baseUnit, osg::ExtendedMaterial* extendedMaterial);
99 int baseTexUnit, osg::StateSet* stateSet);
108 int baseTexUnit, osg::StateSet* stateSet);
113 virtual bool checkForGlassMaterial(osg::StateSet* stateSet);