Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 202 Bytes
#version 150 core
#extension GL_ARB_explicit_attrib_location : require
layout(location=0) in vec2 in_pos;
uniform mat4 MVP;
void main(void)
{
vec4 v=vec4(in_pos, 0.0, 1.0);
gl_Position = MVP * v;
}