mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 13:26:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			288 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			288 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
| #ifndef LUMINANCE_CONSTANTS
 | |
| #define LUMINANCE_CONSTANTS
 | |
| 
 | |
| const float minLog = -9.0;
 | |
| const float maxLog = 4.0;
 | |
| const float logLumRange = (maxLog - minLog);
 | |
| const float invLogLumRange = 1.0 / logLumRange;
 | |
| const float epsilon = 0.004;
 | |
| const float hdrExposureTime = @hdrExposureTime;
 | |
| 
 | |
| #endif
 |