ddnet/shader/tile.vert
2017-09-27 12:15:30 +02:00

10 lines
154 B
GLSL

#version 330
layout (location = 0) in vec2 inVertex;
uniform mat4x2 Pos;
void main()
{
gl_Position = vec4(Pos * vec4(inVertex, 0.0, 1.0), 0.0, 1.0);
}