How could i outline all objects in my scene, as a collective? So overlapping objects share the outline rather than one having its outline over the other. Best example I can think of is outlines in Antipaint (image attached)
But this and all the shaders I can find outline every object individually. Would there be a way to do this as a collective, like in the screenshot? No idea how it would be executed, but a theoretical way i could think to do it if this is possible is drawing the outlines to.. something?.. which is higher in the scene tree than the outlined objects, so any outlines that would overlap would be underneath the other objects. No idea how that would work though.
How would that work if it was something like an enemy that was being outlined? Could the entire enemy just be a child of the CanvasGroup? Would I have to have the sprite separate as a child of the CanvasGroup and then it refers to the enemy for where to position itself?