How to mark shape edges in material?

How to mark those lines with material?

in my opinion thats something done either in a texture or in the way you unwrap the mesh.