aboutsummaryrefslogtreecommitdiff
path: root/render/gles2/shaders/tex_external.frag
blob: 05eac50320ad44e78fc04a8d03030ecd32b4a906 (plain)
1
2
3
4
5
6
7
8
9
10
#extension GL_OES_EGL_image_external : require

precision mediump float;
varying vec2 v_texcoord;
uniform samplerExternalOES texture0;
uniform float alpha;

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