Sign in
third-party-mirror
/
orbit
/
refs/heads/master
/
.
/
qt-everywhere-src-5.15.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
;
}