- Home /
Black boarder on transparent sprites
Hi guys,
I just created a new project and added my sprite, why am I getting these black boarders, I tried to change some Texture Import and Material settings.
This is the Texture:
problem.png
(160.3 kB)
player.png
(3.2 kB)
Comment
Best Answer
Answer by Pharan · Nov 20, 2015 at 08:12 AM
Your source image has a black border. What are you using to export this?
58426-player-ff.png
(3.0 kB)
Answer by Dave29483 · Nov 20, 2015 at 08:06 AM
For best results, make sure you use a transparent background in your source asset.
Also use a file format which readily supports transparency. I.e. .png or .psd. (Like the one you are using)
On the importer settings for your texture, make sure alpha from transparency is also set.
This will give you the cleanest results.