1
0
Fork 0
forked from fte/fteqw
fteqw/engine/shaders/vulkan/defaultfill.glsl

19 lines
238 B
Text
Raw Normal View History

#include "sys/defs.h"
layout(location=0) varying vec4 vc;
#ifdef VERTEX_SHADER
void main ()
{
vc = v_colour;
gl_Position = ftetransform();
}
#endif
#ifdef FRAGMENT_SHADER
void main ()
{
gl_FragColor = vc;
}
#endif