|
|
@ -37,7 +37,7 @@ namespace Shader
|
|
|
|
ShaderVisitor::ShaderVisitor(ShaderManager& shaderManager, Resource::ImageManager& imageManager, const std::string &defaultVsTemplate, const std::string &defaultFsTemplate)
|
|
|
|
ShaderVisitor::ShaderVisitor(ShaderManager& shaderManager, Resource::ImageManager& imageManager, const std::string &defaultVsTemplate, const std::string &defaultFsTemplate)
|
|
|
|
: osg::NodeVisitor(TRAVERSE_ALL_CHILDREN)
|
|
|
|
: osg::NodeVisitor(TRAVERSE_ALL_CHILDREN)
|
|
|
|
, mForceShaders(false)
|
|
|
|
, mForceShaders(false)
|
|
|
|
, mClampLighting(false)
|
|
|
|
, mClampLighting(true)
|
|
|
|
, mForcePerPixelLighting(false)
|
|
|
|
, mForcePerPixelLighting(false)
|
|
|
|
, mAllowedToModifyStateSets(true)
|
|
|
|
, mAllowedToModifyStateSets(true)
|
|
|
|
, mAutoUseNormalMaps(false)
|
|
|
|
, mAutoUseNormalMaps(false)
|
|
|
|