mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-11-03 19:50: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;
 | 
						|
}
 |