summaryrefslogtreecommitdiff
path: root/src/shader/icon.fragment.glsl
blob: 45b56793eba477f70b7caf284424f646d92c5ce1 (plain)
1
2
3
4
5
6
7
8
uniform sampler2D u_texture;

varying vec2 v_tex;
varying float v_alpha;

void main() {
    gl_FragColor = texture2D(u_texture, v_tex) * v_alpha;
}