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
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:
- Duplicate the layer
- Select the lowest layer. This will be source for the dilation of the background.
- Select Layer->Matting->Defringe and apply with the default properties
- Run the “Dilate Many” action a couple of times. This will expand the background into a new layer.
- Select all the dilation layers and merge them with Command-E
- Create a solid color layer at the bottom of your image stack. This should match the general color of your document (in this case, greenish). Note that without this layer Unity will take alpha from merged transparency of all layers.
- Now we need to copy the transparency into the alpha layer.
- Set the selection to be the contents of your main layer by Command-clicking on it in the Layer Palette.
- Switch to the channels palette.
- Create a new channel from the transparency.
Save your PSD file - you are now ready to go.