aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/shaders/8bittextmask_core.frag
blob: 2d67a4676af35a2e15bc0f2e9157be55d8149ce2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#version 150 core

in vec2 sampleCoord;

out vec4 fragColor;

uniform sampler2D _qt_texture;
uniform vec4 color;

void main()
{
    fragColor = color * texture(_qt_texture, sampleCoord).r;
}