blob: 010aca97b411724d6ff237b6f728e2d6fd9d4f34 (
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 float color; // just the alpha, really...
void main()
{
fragColor = texture(_qt_texture, sampleCoord) * color;
}
|