mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-12 00:01:43 +00:00
8bcef272e6
Wow... smooth.
15 lines
224 B
GLSL
15 lines
224 B
GLSL
uniform mat4 mvp_mat;
|
|
uniform mat4 sky_mat;
|
|
uniform vec3 origin;
|
|
|
|
attribute vec4 tlst;
|
|
attribute vec4 vertex;
|
|
|
|
varying vec3 direction;
|
|
|
|
void
|
|
main (void)
|
|
{
|
|
gl_Position = mvp_mat * vertex;
|
|
direction = vertex.xyz - origin;
|
|
}
|