Hey. Thanks for coming here)
Can you please advise me good Outline effect? I tried free assets and basically all that are based on shaders showed me this:
I use DragonBones for 2D, and the problem is that it does not create Sprite Renderer but Mesh Renderer, which is assembled from a texture atlas. On the screen this is clearly seen in the example of the characters head: the Outline line goes over the area that the Spine API cuts out of the texture atlas, rather than in the picture itself.
There is also a solution in the asset store that partially solves my problem:
Here is this asset:https://assetstore.unity.com/packag…76.2109637591.1570167075-415830096.1561346586
But it is no longer supported, and also does not work on some devices. But the main problem with this asset is performance. On my LG G2, it drop FPS from 60 to 25 (and it doesn’t matter if there are objects in the scene that need to be outlined)
I’m afraid to buy something from paid assets because I can pay money for what you can see on the first screen, but I’m ready to pay for a working (for MeshRenderer with alpha objects) asset.
P.S. I also noticed that in Unity 2018 (maybe earlier) Outline Effect was added in the editor. It is clearly visible on the second screen on the right side. Perhaps Unity laid out this effect somewhere or maybe it is in the Unity sources?