mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-12-01 16:11:54 +00:00
24d6ac83c8
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4253 fc73d0e0-1445-4013-8a0c-d673dee63da5
18 lines
No EOL
236 B
GLSL
18 lines
No EOL
236 B
GLSL
#ifdef VERTEX_SHADER
|
|
attribute vec4 v_colour;
|
|
varying vec4 vc;
|
|
|
|
void main ()
|
|
{
|
|
vc = v_colour;
|
|
gl_Position = ftetransform();
|
|
}
|
|
#endif
|
|
|
|
#ifdef FRAGMENT_SHADER
|
|
varying vec4 vc;
|
|
void main ()
|
|
{
|
|
gl_FragColor = vc;
|
|
}
|
|
#endif |