// there is no elegance here. only sleep deprivation and regret.
[ipdf/code.git] / src / shaders / fonttex_frag.glsl
1 #version 140
2
3 in vec2 fp_tex_coord;
4
5 out vec4 output_colour;
6
7 uniform sampler2D tex;
8 uniform vec4 colour;
9
10 void main()
11 {
12         output_colour = colour;
13         output_colour.a = texture(tex, fp_tex_coord).r;
14 }
15

UCC git Repository :: git.ucc.asn.au