17 #include <osgEarth/StateSetCache>
24 #define MAX_TEXTURES 8
28 #define ENV_MAP_SLOT 8
45 class DtOpenGLCubeMap;
46 class DtOsgStateComponentContext;
62 static std::string theClassName();
65 void setPerPixelLightingEnabled(
bool enabled);
68 bool getPerPixelLightingEnabled()
const;
77 void generateShaders(osg::Node* node,
const std::string& name =
"",
bool shareState =
true,
bool force=
false);
81 void optimizeStateSharing(osg::Node* node);
84 const std::string& getShaderFolderPath()
const;
91 void disableShaders(osg::StateSet *stateSet);
97 void installEnvironmentMap(osg::StateSet* stateSet);