hi, im making a tree with leafs. I have made the leafs in photoshop and saved as png. I get what seems to be
a common issue, that the borders bleed, and i read all the forum entries i could find but i still dont manage to fix it. I even followed the unity support tutorial, “dialate many times” did not seem to give the same result as the snapshot of that tutorial, it didnt give any better results for me. Im not a experienced photoshop user so surely i must be doing something wrong somewhere.
Could anyone please help me with this? That would be so very helpfull right now
Hi… can you post some example of your png file?
Using PNGs for transparency isn’t recommended. If you follow the Unity tutorial on creating alpha masks you should be fine if you save out the image in a format that uses alpha channels… Targa, TIFF, PSD.
png supports alpha (jpg doesn’t). is there some reason why tagra/tiff/psd works better than png?
hi thanks a lot or reply. When i try the unity tutorial, i dont really get it to resemble the screenshots there. When i press “dilate many times” nothing really happen, other than making a lot of new layers, i dont think the background expands or anything (like it says, and look like is what happening in the screenshot). And the solid colour layer at the bottom, which is described in the tutorial, do i need to create a separate alpha channel for that?
Iwe added a screenshot of the leafs i want to use in unityi anyone could have a look at this, thank you again, feeli like i really need help with this now, starts to get really frustrating.
hmm seems like my image didnt join the reply above, so here is the url:
anyone? Help on this would really be majorly helpfull now. Dont really know what more i can do
So even without the dilation method just select the layer’s opacity by Command-clicking it in the layer panel. Once that is selected, create a new alpha channel and fill the selection with white. Make sure to put a background layer that is of similar color to the leaves. Save that out as a PSD and use it in Unity making sure it is using DXT5 compression so you import the alpha channel. If this still doesn’t make sense look at some of the leaf and branch textures from Bootcamp or the Terrain Assets.
ok thanks i will try that as soon as i got time. Works with others so i should make it work for me as well