Cross hatching WebGL shader


Here’s a fun shader designed to look like hand drawn cross-hatching that uses three.js to render 3D objects (including my favourite – the knotted torus).

Based on a research paper published by Hugues Hoppe in 2001 at SIGGRAPH, it’s a pretty nice effect.

Cross-hatching GLSL shader by Jaume Sanchez