2023-05-13 22:01:53 -05:00
|
|
|
#version 330 core
|
|
|
|
in vec2 apos;
|
|
|
|
in vec2 auv;
|
2023-05-16 01:31:13 -05:00
|
|
|
in vec4 acolor;
|
2023-05-13 22:01:53 -05:00
|
|
|
|
2023-05-16 01:31:13 -05:00
|
|
|
out vec4 color;
|
2023-05-13 22:01:53 -05:00
|
|
|
out vec2 uv;
|
|
|
|
|
|
|
|
uniform mat4 proj;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
gl_Position = proj * vec4(apos, 0.0, 1.0);
|
|
|
|
color = acolor;
|
|
|
|
uv = auv;
|
|
|
|
}
|