Convert scene to wireframe (texture glitch) I have a large scene with ~500 objects and I want to turn it into wireframe so I can assign blue emission shader and have sci-fi looking scene like this ground here:


How can I achieve that if I have ~500 induvidual objects
Allso notice how in this Image you can't see the wireframe through objects, this is what I want to do.
I can try aplying black material to everything but how can I render it showing both wireframe and black material?

STATUS UPDATE:

I folowed the instructions from materials you linked me and asigned black material to all objects, duplicated everything and changed the material of the coppy to wireframe. When I go to rendered wiew it seems to look just fine:

But when I try to render it it appears glitchy and half transparent:


Wire frame is a mix of transparent and emission with factor of wireframe if it helps...
You could use Freestyle.


In edit mode , CtrlE > Edge Data, mark all edges Freestyle
Enable Freestyle in the Render settings, setting line width here, if you like
In Scene settings, modify the Freestyle Line Set, including only Visible 
and Marked Edges, and set the color you want.
Give all your objects and the World a black material, (no lights necessary)