Sign in
third-party-mirror
/
orbit
/
b80a455c0268d549edd5f71d1094a89297b72f72
/
.
/
qt-everywhere-src-5.14.1
/
qtdeclarative
/
src
/
quick
/
scenegraph
/
shaders
/
textmask_core.frag
blob: 17dda53c97704f978f6934d74bff784090495a49 [
file
] [
log
] [
blame
]
#version 150 core
in
vec2 sampleCoord
;
out
vec4 fragColor
;
uniform sampler2D _qt_texture
;
uniform vec4 color
;
void
main
()
{
vec4 glyph
=
texture
(
_qt_texture
,
sampleCoord
);
fragColor
=
vec4
(
glyph
.
rgb
*
color
.
a
,
glyph
.
a
);
}