there is the inverted model trick...

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...

sorry this isn't a shader....


Drew Medina
Game Developer (Artist)
Personal & professional website
Deviant Art
My Blogspot