fae 0.6.0

A simple and fast 2D rendering crate with optional window creation and text rendering functionality.
Documentation
1
2
3
4
5
6
7
8
9
10
11
// Version preprocessor automatically added by fae, either 100 or 110.

varying vec2 frag_texcoord;
varying vec4 frag_color;
uniform sampler2D tex;

void main(void) {
    vec4 out_color = frag_color;
    out_color.a *= texture2D(tex, frag_texcoord).r;
    gl_FragColor = out_color;
}