blob: efcf89e42e06758772a9a95e7e3febb8c9025ce3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
varying highp vec2 sampleCoord;
varying highp vec2 alphas;
uniform sampler2D _qt_texture;
uniform highp vec4 color;
void main()
{
gl_FragColor = color * smoothstep(alphas.x,
alphas.y,
texture2D(_qt_texture, sampleCoord).a);
}
|