forked from enlightenment/efl
17 lines
298 B
Plaintext
17 lines
298 B
Plaintext
#ifdef GL_ES
|
|
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
|
precision highp float;
|
|
#else
|
|
precision mediump float;
|
|
#endif
|
|
#endif
|
|
uniform sampler2D tex;
|
|
uniform sampler2D texa;
|
|
varying vec2 coord_c;
|
|
varying vec2 coord_a;
|
|
void main()
|
|
{
|
|
gl_FragColor = texture2D(tex, coord_c.xy) * texture2D(texa, coord_a).a;
|
|
}
|
|
|