fteqw/engine/shaders/vulkan/defaultfill.glsl

19 lines
235 B
Text
Raw Normal View History

#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