1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

Make variable name less confusing

This commit is contained in:
AnyOldName3 2019-01-31 14:58:57 +00:00
parent a24b8ec3d2
commit 57e10e26b2

View File

@ -134,21 +134,21 @@ namespace SceneUtil
Shader::ShaderManager::DefineMap ShadowManager::getShadowsDisabledDefines()
{
Shader::ShaderManager::DefineMap definesWithShadows;
definesWithShadows.insert(std::make_pair(std::string("shadows_enabled"), std::string("0")));
definesWithShadows["shadow_texture_unit_list"] = "";
Shader::ShaderManager::DefineMap definesWithoutShadows;
definesWithoutShadows.insert(std::make_pair(std::string("shadows_enabled"), std::string("0")));
definesWithoutShadows["shadow_texture_unit_list"] = "";
definesWithShadows["shadowMapsOverlap"] = "0";
definesWithoutShadows["shadowMapsOverlap"] = "0";
definesWithShadows["useShadowDebugOverlay"] = "0";
definesWithoutShadows["useShadowDebugOverlay"] = "0";
definesWithShadows["perspectiveShadowMaps"] = "0";
definesWithoutShadows["perspectiveShadowMaps"] = "0";
definesWithShadows["disableNormalOffsetShadows"] = "0";
definesWithoutShadows["disableNormalOffsetShadows"] = "0";
definesWithShadows["shadowNormalOffset"] = "0.0";
definesWithoutShadows["shadowNormalOffset"] = "0.0";
return definesWithShadows;
return definesWithoutShadows;
}
void ShadowManager::enableIndoorMode()
{