mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 22:01:50 +00:00
19 lines
235 B
Text
19 lines
235 B
Text
|
#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
|