summaryrefslogtreecommitdiff
path: root/data/shaders/default-vertex.glsl
blob: 11f389f993cc8d8b138d5e9949ba3c75e9bd9ae0 (plain)
1
2
3
4
5
6
7
8
9
10
11
#version 130

in vec3 position;
in vec2 tex;
out vec2 frag_tex;
uniform mat4 mvp;

void main(void) {
    frag_tex = tex;
    gl_Position = mvp * vec4(position.xyz, 1.0);
}