mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-01 04:45:36 +00:00
Update settings when using fallback
This commit is contained in:
parent
4ba473b684
commit
16f80ec6f3
1 changed files with 1 additions and 0 deletions
|
@ -224,6 +224,7 @@ namespace MWRender
|
|||
// Let LightManager choose which backend to use based on our hint, mostly depends on support for UBOs
|
||||
resourceSystem->getSceneManager()->getShaderManager().setLightingMethod(sceneRoot->getLightingMethod());
|
||||
resourceSystem->getSceneManager()->setLightingMethod(sceneRoot->getLightingMethod());
|
||||
Settings::Manager::setString("lighting method", "Shaders", SceneUtil::LightManager::getLightingMethodString(sceneRoot->getLightingMethod()));
|
||||
|
||||
mMinimumAmbientLuminance = std::clamp(Settings::Manager::getFloat("minimum interior brightness", "Shaders"), 0.f, 1.f);
|
||||
|
||||
|
|
Loading…
Reference in a new issue