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

uniform sampler2D _qt_texture;
uniform lowp float color; // just the alpha, really...

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