cat_engine 0.6.5

A 2D graphics engine with audio output support
Documentation
1
2
3
4
5
6
7
8
9
10
#version 120

varying vec2 v_tex_coords;

uniform sampler2D texture2d;
uniform vec4 colour;

void main() {
    gl_FragColor = vec4(colour.xyz, colour.w * texture(texture2d, v_tex_coords));
}