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

uniform sampler2D qt_Texture;
uniform lowp float opacity;

void main()
{
    gl_FragColor = texture2D(qt_Texture, qt_TexCoord) * opacity;
}