Download

Adding a opacity filter on a transparent PNG image add black background

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:

https://forums.unrealengine.com/filedata/fetch?filedataid=159283&type=thumb

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:

https://forums.unrealengine.com/filedata/fetch?filedataid=159284&type=thumb