quakeforge/libs/video/renderer/glsl/quakebsp.vert
2012-01-08 20:39:36 +09:00

15 lines
191 B
GLSL

uniform mat4 mvp_mat;
attribute vec4 tlst;
attribute vec4 vertex;
varying vec2 tst;
varying vec2 lst;
void
main (void)
{
gl_Position = mvp_mat * vertex;
tst = tlst.st;
lst = tlst.pq;
}