1
0
Fork 0
forked from fte/fteqw
fteqw/engine/shaders/vulkan/defaultfill.glsl
2017-06-30 05:32:00 +00:00

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