aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/particles/defaultshaders/spritefragment.shader
blob: 4d89d69c6a66cca6b627ff6397d5567c4e52f1ce (plain)
1
2
3
4
5
6
7
8
9
10
uniform sampler2D texture;

varying highp vec2 fTexA;
varying highp vec2 fTexB;
varying lowp float progress;
varying lowp vec4 fColor;

void main() {
    gl_FragColor = mix(texture2D(texture, fTexA), texture2D(texture, fTexB), progress) * fColor.w;
}