2017-06-30 05:32:00 +00:00
|
|
|
#include "sys/defs.h"
|
|
|
|
|
2018-06-18 16:44:29 +00:00
|
|
|
layout(location=0) varying vec4 vc;
|
2017-06-30 05:32:00 +00:00
|
|
|
|
2018-06-18 16:44:29 +00:00
|
|
|
#ifdef VERTEX_SHADER
|
2017-06-30 05:32:00 +00:00
|
|
|
void main ()
|
|
|
|
{
|
|
|
|
vc = v_colour;
|
|
|
|
gl_Position = ftetransform();
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef FRAGMENT_SHADER
|
|
|
|
void main ()
|
|
|
|
{
|
|
|
|
gl_FragColor = vc;
|
|
|
|
}
|
2018-06-18 16:44:29 +00:00
|
|
|
#endif
|