basically you duplicate your mesh, epxand it just slightly and texture it black (push modifier in 3dmax). Now flip all the normals on just the black mesh, you now have black lines only, since you only see the backfaces of the black mesh on the edges...