1#property description Fix out-of-bounds values in premultiplied-alpha space
2
3void main(void) {
4    vec4 c = texture(iInput, uv);
5    float a = max(max(c.r,c.g),max(c.b,c.a));
6    fragColor = vec4(c.rgb,mix(c.a,a,iIntensity * defaultPulse));
7}
8