mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 00:26:39 +00:00 
			
		
		
		
	AdD lInE bReAk ThAt ClAnG-fOrMaT wAnTeD
This commit is contained in:
		
							parent
							
								
									7d4410d4fb
								
							
						
					
					
						commit
						83b940397e
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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 a new issue