quakeforge/libs/video/renderer/glsl/quakebsp.vert

16 lines
191 B
GLSL
Raw Normal View History

2012-01-08 11:39:36 +00:00
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;
}