mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Co-authored-by: Lars Mueller <appgurulars@gmx.de> Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: lhofhansl <lhofhansl@yahoo.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			237 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			237 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
uniform sampler2D baseTexture;
 | 
						|
 | 
						|
varying lowp vec4 varColor;
 | 
						|
varying mediump vec2 varTexCoord;
 | 
						|
 | 
						|
void main(void)
 | 
						|
{
 | 
						|
	vec2 uv = varTexCoord.st;
 | 
						|
	vec4 color = texture2D(baseTexture, uv);
 | 
						|
	color.rgb *= varColor.rgb;
 | 
						|
	gl_FragData[0] = color;
 | 
						|
}
 |