If I have a shape that has protruding shapes (like small spikes at the end of a mace) the outline acts almost like multiple shadows and it doesn't look right.
How can I fix this?
For such cases I might just recommend using an inner line instead. It's not an ideal solution, but anything more complex (ala Photoshop) would require more extensive math and tests so that it samples less where objects are thin.
I just tried here and the shadow looks as expected: each of the spike contributes to the shadow.
You may want to set the Light2D node's Shadow -> Gradient Length to 0, as this stylistic effect can look off with occlusion shapes that have a lot of details.
If that doesn't help, could you share a picture of your shaded mace?
Hey Nathan, I didn't mean I wanted shadows, but that the outline shader looks like multiple shadows. I should've written it more clearly.
Razoric I see, maybe I'll just break these kind of parts and have them with their own shader, thanks