I am try to add fading borders to an image.
It is working properly if the image is withough alpha component. But when there is apha, here is what is happening:
All the “black” of the opacity filter is applied to the apha channel of the picture.
How can i prevent this from happening ?
Here is my material function: