Blender wireframe material missing some edges I am trying to create a material to draw a mesh in wireframe mode. Thhe result will the be applied on top of another render, so I want the edges to be painted as black and the rest of the surface to be transparent. 

I have tried to create this material, but I'm missing some edges as shown in the images. 

Mesh:
 

Material and render view:


I have also tried with R channel for the parametric. That renders other edges, but still not all when combining both modes. 

How should I configure the material to produce the desired output?
Since your mesh is altready triangulated, you can use the Wireframe Node.