prosperon/source/shaders/poly_v.glsl
2023-05-14 03:01:53 +00:00

17 lines
203 B
GLSL

#version 330 core
in vec2 apos;
in vec2 auv;
in vec3 acolor;
out vec3 color;
out vec2 uv;
uniform mat4 proj;
void main()
{
gl_Position = proj * vec4(apos, 0.0, 1.0);
color = acolor;
uv = auv;
}