mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-30 06:50:06 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			238 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			238 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
| #version 330 core
 | |
| 
 | |
| // Lower the default precision to medium
 | |
| precision mediump float;
 | |
| 
 | |
| uniform sampler1D uTexture;
 | |
| 
 | |
| in float texCoord;
 | |
| 
 | |
| layout (location = 0) out vec4 fragColor;
 | |
| 
 | |
| void main()
 | |
| {
 | |
|    fragColor = texture(uTexture, texCoord);
 | |
| }
 | 
