mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-11-04 00:26:45 +00:00 
			
		
		
		
	Use JDGBOLT's indoor 'sun' direction.
This commit is contained in:
		
							parent
							
								
									a2b54714d4
								
							
						
					
					
						commit
						1e48114492
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -453,7 +453,7 @@ namespace MWRender
 | 
			
		|||
        osg::Vec4f diffuse = SceneUtil::colourFromRGB(cell->mAmbi.mSunlight);
 | 
			
		||||
        mSunLight->setDiffuse(diffuse);
 | 
			
		||||
        mSunLight->setSpecular(diffuse);
 | 
			
		||||
        mSunLight->setPosition(osg::Vec4f(-1.f, 1.f, 1.f, 0.f));
 | 
			
		||||
        mSunLight->setPosition(osg::Vec4f(-0.15f, 0.15f, 1.f, 0.f));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    void RenderingManager::setSunColour(const osg::Vec4f& diffuse, const osg::Vec4f& specular)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue