mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-04 02:41:19 +00:00
AdD lInE bReAk ThAt ClAnG-fOrMaT wAnTeD
This commit is contained in:
parent
7d4410d4fb
commit
83b940397e
@ -32,7 +32,8 @@ namespace SceneUtil
|
||||
= std::clamp(Settings::Manager::getInt("number of shadow maps", "Shadows"), 1, 8);
|
||||
|
||||
mShadowSettings->setNumShadowMapsPerLight(numberOfShadowMapsPerLight);
|
||||
mShadowSettings->setBaseShadowTextureUnit(shaderManager.reserveGlobalTextureUnits(Shader::ShaderManager::Slot::ShadowMaps, numberOfShadowMapsPerLight));
|
||||
mShadowSettings->setBaseShadowTextureUnit(shaderManager.reserveGlobalTextureUnits(
|
||||
Shader::ShaderManager::Slot::ShadowMaps, numberOfShadowMapsPerLight));
|
||||
|
||||
const float maximumShadowMapDistance = Settings::Manager::getFloat("maximum shadow map distance", "Shadows");
|
||||
if (maximumShadowMapDistance > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user