aboutsummaryrefslogtreecommitdiff
path: root/render/gles2/shaders/tex_rgba.frag
blob: c2e17a90f49548636e16072dcbb1e64df2321c3d (plain)
1
2
3
4
5
6
7
8
precision mediump float;
varying vec2 v_texcoord;
uniform sampler2D tex;
uniform float alpha;

void main() {
	gl_FragColor = texture2D(tex, v_texcoord) * alpha;
}