Alpha and transparency question - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions) +--- Thread: Alpha and transparency question (/Thread-Alpha-and-transparency-question) |
Alpha and transparency question - grit - 12-25-2016 I have problem in Unity with sprites and transparent backgrounds. They have jagged edges. I tried all the settigns Unity has to offer and everytime is the same. I'm left with conclusion that I need to set the sprites properly. How to prepare the sprite in GIMP using this instructions? https://docs.unity3d.com/Manual/HOWTO-alphamaps.html In PS Quote: RE: Alpha and transparency question - rich2005 - 12-25-2016 You deserve an answer, but this being a new-ish forum not many game players around. I know nothing about Unity and their requirements. Looking at your reference, it takes an image from-this-to-this http://imgur.com/53peGRZ in PS using some sort of PS action file that is never going to work in Gimp. There is a similar 'dilate' or 'erode' in Gimp but not using transparency. example With transparency: http://imgur.com/6E8Vtex transparency removed: http://imgur.com/yem0jDW using Filters -> Generic -> Erode to shrink lighter areas: http://imgur.com/OTh3ZMn and color-to-alpha to remove the white: http://imgur.com/G1OCpP1 A little like the the PS procedure. (but not much) However, I do not think that is your problem Quote:.. have problem in Unity with sprites and transparent backgrounds. They have jagged edges... That indicates you have no anti-aliasing in your image You might get a sensible answer if you post an example of your sprite / sprite-sheet, (zip it if required) and details of the image format, OS / version of Gimp. |