summaryrefslogtreecommitdiffstats
path: root/src/qtmultimediaquicktools/shaders/rectsampler_rgb.frag
blob: 2a30f7c3dc6f12bfb69ebdcc09f3a7225ada5f0a (plain)
1
2
3
4
5
6
7
8
uniform sampler2DRect rgbTexture;
uniform lowp float opacity;
varying highp vec2 qt_TexCoord;

void main()
{
    gl_FragColor = texture2DRect(rgbTexture, qt_TexCoord) * opacity;
}