mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-30 16:10:04 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			249 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			249 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
| #version 330 core
 | |
| layout (location = 0) in vec2  aVertex;
 | |
| layout (location = 1) in float aTexCoord;
 | |
| 
 | |
| out float texCoord;
 | |
| 
 | |
| uniform mat4 uMVPMatrix;
 | |
| 
 | |
| void main()
 | |
| {
 | |
|    gl_Position = uMVPMatrix * vec4(aVertex, 0.0f, 1.0f);
 | |
|    texCoord    = aTexCoord;
 | |
| }
 | 
