The Quick Edge Mask shader group creates an edge mask that works in Eevee and Cycles. It can be used to create worn edge details using procedural texturing techniques. The .blend scene has practical application example on how the node group can be used.