hatching effect in shader

I’m trying to create an effect like in the opening to sonic riders where there is a nice hatching effect in the shadows

and I’m having an issue where the hatching gets bigger and smaller depending on the distance from the camera

Here is my code so far, does anybody have a solution to this

Hello! If you want hatching effect on model then you can prepare special UV mask (for example in red channel) that cover all places you need. After that just add some base color blending node in Material Editor and connect alpha with this mask.

Can you post an example of how to do this

You can use material functions to configure shader effects and blend them as additional layer with your main material. To calculate on which regions you should blend effect you can simply use some simple mask texture. For example take a look at this: 1- Layered Material, 2 - Created Material Instance, 3 - One of MF for that Instance