mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 08:50:58 +00:00
617107f9c1
}:>
14 lines
206 B
GLSL
14 lines
206 B
GLSL
uniform mat4 mvp_mat;
|
|
uniform mat4 sky_mat;
|
|
|
|
attribute vec4 tlst;
|
|
attribute vec4 vertex;
|
|
|
|
varying vec3 direction;
|
|
|
|
void
|
|
main (void)
|
|
{
|
|
gl_Position = mvp_mat * vertex;
|
|
direction = (sky_mat * vertex).xyz;
|
|
}
|