Having issues with a shader i made following a particular tutorial

I wanted a line art shader to make my edges look cartoony and also wanted to add custom textures in the shadow areas like cross hatches and halftone comical textures. I found a tutorial which allowed me to obtain the results. But i am facing 2 issues in the shader.

  1. My halftone textures get deformed in the z axis.
  2. I am unable to retain the colours of my environment as the shader turns everything black and white.

Here’s the tutorial i followed -
https://youtu.be/gdaemvf_MvA?si=hICVAmq_MNM7rR0_