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