a255ee0def
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5122 fc73d0e0-1445-4013-8a0c-d673dee63da5
19 lines
No EOL
235 B
GLSL
19 lines
No EOL
235 B
GLSL
#include "sys/defs.h"
|
|
|
|
#ifdef VERTEX_SHADER
|
|
varying vec4 vc;
|
|
|
|
void main ()
|
|
{
|
|
vc = v_colour;
|
|
gl_Position = ftetransform();
|
|
}
|
|
#endif
|
|
|
|
#ifdef FRAGMENT_SHADER
|
|
varying vec4 vc;
|
|
void main ()
|
|
{
|
|
gl_FragColor = vc;
|
|
}
|
|
#endif |