mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-30 15:30:05 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			238 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			238 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
| #version 330 core
 | |
| layout (location = 0) in vec3 aVertex;
 | |
| layout (location = 1) in vec4 aColor;
 | |
| 
 | |
| uniform mat4 uMVPMatrix;
 | |
| 
 | |
| smooth out vec4 color;
 | |
| 
 | |
| void main()
 | |
| {
 | |
|    gl_Position = uMVPMatrix * vec4(aVertex, 1.0f);
 | |
|    color       = aColor;
 | |
| }
 | 
