blob: 23f0b1f9fcf41bf0a4bb055fc011a1ce1e103f37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#extension GL_OES_EGL_image_external : require
precision highp float;
precision highp int;
struct buf
{
mat4 matrix;
mat4 colorMatrix;
float opacity;
float width;
};
uniform buf ubuf;
uniform samplerExternalOES plane1Texture;
varying vec2 texCoord;
void main()
{
gl_FragColor = texture2D(plane1Texture, texCoord).rgba * ubuf.opacity;
}
|