mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-11-04 03:40:05 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			280 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			280 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
#version 330 core
 | 
						|
 | 
						|
// Lower the default precision to medium
 | 
						|
precision mediump float;
 | 
						|
 | 
						|
uniform sampler2D uTexture;
 | 
						|
 | 
						|
smooth in vec2 texCoord;
 | 
						|
flat   in vec4 modulate;
 | 
						|
 | 
						|
layout (location = 0) out vec4 fragColor;
 | 
						|
 | 
						|
void main()
 | 
						|
{
 | 
						|
   fragColor = texture(uTexture, texCoord) * modulate;
 | 
						|
}
 |