vxdraw 0.6.0

Simple 2D rendering library
1
2
3
4
5
6
7
8
9
10
11
12
13
#version 450

layout (location = 0) in vec2 pos;
layout (location = 0) out vec2 texpos;

out gl_PerVertex {
    vec4 gl_Position;
};

void main() {
    texpos = (pos + 1)/2;
    gl_Position = vec4(pos, 0, 1);
}