Hi community!
Is it possible to generate an outline (optionally dashed) for a generic 2D shape (random polygon) using shading? I’ve already tried to research the topic and came across edge detection. Unfortunately, I wasn’t able to implement it… is it even possible? Currently, I’m solving it using an inner and outer extruded geometry, but this approach isn’t very performance-friendly when dealing with many elements.