aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/shaders/8bittextmask.frag
blob: 44ffb279cbd0b59c14722ffd62e9fbb76b687079 (plain)
1
2
3
4
5
6
7
8
9
varying highp vec2 sampleCoord;

uniform lowp sampler2D _qt_texture;
uniform lowp vec4 color;

void main()
{
    gl_FragColor = color * texture2D(_qt_texture, sampleCoord).a;
}