How to create a simple hatch shader/effect?

Hi!
For some ideas, have a look at this forum post: Would you have a idea to fix the texture size on different size shapes? - #2 by prisoner849