mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-09 12:25:17 -04:00
Fix in-code default settings so that we don't attempt to use shaders in OpenCS
This commit is contained in:
parent
8f81df2bd3
commit
4ca6e91292
@ -210,7 +210,7 @@ namespace Resource
|
|||||||
: ResourceManager(vfs)
|
: ResourceManager(vfs)
|
||||||
, mShaderManager(new Shader::ShaderManager)
|
, mShaderManager(new Shader::ShaderManager)
|
||||||
, mForceShaders(false)
|
, mForceShaders(false)
|
||||||
, mClampLighting(false)
|
, mClampLighting(true)
|
||||||
, mForcePerPixelLighting(false)
|
, mForcePerPixelLighting(false)
|
||||||
, mAutoUseNormalMaps(false)
|
, mAutoUseNormalMaps(false)
|
||||||
, mInstanceCache(new MultiObjectCache)
|
, mInstanceCache(new MultiObjectCache)
|
||||||
|
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user