Initial import.
[yuu.git] / src / yuu / data / shaders / default.frag
1 /* This is free and unencumbered software released into the public
2 domain. To the extent possible under law, the author of this file
3 waives all copyright and related or neighboring rights to it.
4 */
5
6 precision mediump float;
7
8 varying vec2 fTexCoord;
9 varying vec4 fColor;
10 uniform sampler2D tex;
11
12 void main(void) {
13 gl_FragColor = vec4(fColor.rgb * fColor.a, fColor.a)
14 * texture2D(tex, fTexCoord);
15 }