Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 239 Bytes
#version 150 core
#extension GL_ARB_explicit_attrib_location : require
layout(location=0) in vec2 in_pos;
uniform mat4 MVP;
out vec2 out_pos;
void main(void)
{
vec4 v=vec4(in_pos, 0.0, 1.0);
out_pos = in_pos;
gl_Position = MVP * v;
}
Something went wrong with that request. Please try again.