mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-10-31 15:35:21 +01:00 
			
		
		
		
	* Remove the built-in exposure factor of 2.5 * Add physics-based bloom (https://learnopengl.com/Guest-Articles/2022/Phys.-Based-Bloom) * Add luminance scaling for bloom layer to simulate HDR * Add setting to control bloom strength
		
			
				
	
	
		
			12 lines
		
	
	
		
			183 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			183 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
| #ifdef GL_ES
 | |
| varying mediump vec2 varTexCoord;
 | |
| #else
 | |
| centroid varying vec2 varTexCoord;
 | |
| #endif
 | |
| 
 | |
| void main(void)
 | |
| {
 | |
| 	varTexCoord.st = inTexCoord0.st;
 | |
| 	gl_Position = inVertexPosition;
 | |
| }
 |