sprite effect like mugen

Hi!, I export some sprite from mugen to use in unity, but the image has black background, i try to use “alpha from grayscale”, but it seen different from it show in mugen. Any suggestions at all is greatly appreciated. Thanks!!

2901830--213653--export_image.png

You will need to edit them in some paint program, such as PhotoShop or GIMP, to get proper alpha channels. Erase the parts you want to be transparent and save the sprites as either png or psd and reimport them into Unity.

When you use “Alpha from Grayscale” it will consider the entire sprite as a channel, not just the black/white parts. So it’s not what you need.

1 Like

You can try this background remover, but probably wouldnt work nicely…
https://github.com/UnityCommunity/UnityLibrary/blob/master/Scripts/Editor/SpriteBackgroundRemover.cs

Could try using particle shaders, maybe looks ok…

1 Like

@anhnvh1991

To me it seems your sprite is just using plain old additive particle effect, it looks like additive FX… so no alpha channel is needed, just a proper shader. Also, in image it says in your red box that it’s additive (Transparency = addition).

1 Like

nice, your suggestions is right, i found the solution. thanks every one.

1 Like