2023-06-05 10:32:45 -05:00
|
|
|
#version 330 core
|
|
|
|
|
2023-06-28 11:35:41 -05:00
|
|
|
|
|
|
|
|
2023-06-05 10:32:45 -05:00
|
|
|
layout (location = 0) in vec2 vert;
|
2023-06-05 14:48:53 -05:00
|
|
|
layout (location = 1) in vec2 vuv;
|
2023-06-05 10:32:45 -05:00
|
|
|
layout (location = 2) in vec4 vborder;
|
|
|
|
layout (location = 3) in vec2 vscale;
|
|
|
|
layout (location = 4) in vec4 vcolor;
|
|
|
|
|
|
|
|
out vec2 uv;
|
|
|
|
out vec4 border;
|
|
|
|
out vec2 scale;
|
|
|
|
out vec4 fcolor;
|
|
|
|
|
|
|
|
uniform mat4 projection;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
gl_Position = projection * vec4(vert, 0.0, 1.0);
|
|
|
|
|
2023-06-05 14:48:53 -05:00
|
|
|
uv = vuv;
|
2023-06-05 10:32:45 -05:00
|
|
|
border = vborder;
|
|
|
|
scale = vscale;
|
|
|
|
fcolor = vcolor;
|
|
|
|
}
|