Crosshatch - Texture Scale by Camera Distance


I'm working on a crosshatch shader which should have equally thick lines independent from the perspective (see upper image). But my solution is kind of hacky - is there an easy or better way to solve or calculate this (maybe even with camera-node)? 

Thanks in advance.

Hacky with RGB-Curve:

Normal with Perspective: