I'm trying to figure out how to make a shader so that when the player or any npc goes behind a sprite, you see the outline or a specially shaded version of the character for the part that is behind.
In the Spine example for outline shaders the SkeletonGraphic (UI) has an outline for the entire sprite, which is what you normally want, but the SkeletonAnimation have the outlines for each sprite/body part. Why is it like that, and is it possible to do the same as for the UI spine item?
Do you have any example or guide on how to achieve this?
Thanks!