summaryrefslogtreecommitdiff
path: root/src/qtmultimediaquicktools/shaders/rgbvideo.frag
blob: 673eb4bf7ecf50f3c8ff2a069c29bd8b04b9f057 (plain)
1
2
3
4
5
6
7
8
uniform sampler2D rgbTexture;
uniform lowp float opacity;
varying highp vec2 qt_TexCoord;

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