Sign in
third-party-mirror
/
orbit
/
b80a455c0268d549edd5f71d1094a89297b72f72
/
.
/
qt-everywhere-src-5.14.1
/
qtdeclarative
/
src
/
quickshapes
/
shaders
/
lineargradient.frag
blob: 7f4a739109ba0d8165b7b08dc0d1aae9069d01b9 [
file
] [
log
] [
blame
]
uniform sampler2D gradTabTexture
;
uniform highp
float
opacity
;
varying highp
float
gradTabIndex
;
void
main
()
{
gl_FragColor
=
texture2D
(
gradTabTexture
,
vec2
(
gradTabIndex
,
0.5
))
*
opacity
;
}