1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00

Fix in-code default settings so that we don't attempt to use shaders in OpenCS

This commit is contained in:
scrawl 2016-02-20 20:36:29 +01:00
parent 8f81df2bd3
commit 4ca6e91292
2 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ namespace Resource
: ResourceManager(vfs)
, mShaderManager(new Shader::ShaderManager)
, mForceShaders(false)
, mClampLighting(false)
, mClampLighting(true)
, mForcePerPixelLighting(false)
, mAutoUseNormalMaps(false)
, mInstanceCache(new MultiObjectCache)

View File

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