aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/particles/resources/trailsfragment.shader
blob: d3db87fa306fd4dc51c660742eebb33bc8b43715 (plain)
1
2
3
4
5
6
7
8
uniform sampler2D texture;

varying highp vec2 fTex;
varying lowp vec4 fColor;

void main() {
    gl_FragColor = (texture2D(texture, fTex).w) * fColor;
}