16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 00:49:19 +02:00
Files
maszyna/shaders/simpleuv.vert
2026-05-09 23:29:20 +02:00

13 lines
224 B
GLSL

layout(location = 0) in vec3 v_vert;
layout(location = 2) in vec2 v_coord;
out vec2 f_coord;
#include <common>
void main()
{
gl_Position = (projection * effective_modelview()) * vec4(v_vert, 1.0f);
f_coord = v_coord;
}