2022-03-21 12:10:47 +00:00
|
|
|
#version 140
|
2022-03-14 08:04:44 +00:00
|
|
|
|
|
|
|
uniform mat4 ProjMtx;
|
|
|
|
|
2022-03-21 12:10:47 +00:00
|
|
|
in vec2 Position;
|
|
|
|
in vec2 UV;
|
|
|
|
in vec4 Color;
|
2022-03-14 08:04:44 +00:00
|
|
|
|
2022-03-21 12:10:47 +00:00
|
|
|
out vec2 Frag_UV;
|
|
|
|
out vec4 Frag_Color;
|
2022-03-14 08:04:44 +00:00
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
Frag_UV = UV;
|
|
|
|
Frag_Color = Color;
|
|
|
|
gl_Position = ProjMtx * vec4(Position.xy, 0.0, 1.0);
|
|
|
|
}
|