Is there a way to create proper wireframe material?

Or just bake out the UV map and use it as a mask. You can change the appearance easily in PS.