All Questions



What about protruding shapes?

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?

  • Razoric replied

    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.

  • Nathan Lovato replied

    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?

  • A
    SnowRoad11 replied

    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