Sign in
third-party-mirror
/
orbit
/
301094089f7066c20f6885ee60d316d3f550a3c2
/
.
/
qt-everywhere-src-5.14.1
/
qtdeclarative
/
src
/
quick
/
scenegraph
/
shaders
/
24bittextmask.frag
blob: 5c21e202f9c5375f78445728f530b0eea107b923 [
file
] [
log
] [
blame
]
varying highp vec2 sampleCoord
;
uniform lowp sampler2D _qt_texture
;
uniform lowp
float
color
;
// just the alpha, really...
void
main
()
{
lowp vec4 glyph
=
texture2D
(
_qt_texture
,
sampleCoord
);
gl_FragColor
=
vec4
(
glyph
.
rgb
*
color
,
glyph
.
a
);
}