mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-17 18:30:58 +00:00
8345f07db2
Actually looks pretty good against the sw style world.
21 lines
289 B
GLSL
21 lines
289 B
GLSL
uniform mat4 mvp_mat;
|
|
attribute vec4 vcolor;
|
|
attribute vec2 vst;
|
|
/** Vertex position.
|
|
|
|
x, y, z, c
|
|
|
|
c is the color of the point.
|
|
*/
|
|
attribute vec3 vertex;
|
|
|
|
varying vec4 color;
|
|
varying vec2 st;
|
|
|
|
void
|
|
main (void)
|
|
{
|
|
gl_Position = mvp_mat * vec4 (vertex, 1.0);
|
|
color = vcolor;
|
|
st = vst;
|
|
}
|