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

in vec2 texCoord;
in float vertexOpacity;

out vec4 fragColor;

uniform sampler2D qt_Texture;

void main()
{
    fragColor = texture(qt_Texture, texCoord) * vertexOpacity;
}