Website powered by

Sketch cross hatching Shader (WIP)

I started working on those two stylised shader inspired by BD and cross hatching sketch.
This is a triplanar shader that use the light to mask the line texture and make it thinner on the end.
For now they only works with the mesh's geometry and the sun direction, but I will make them work with normal maps and all light source in the end. I also want to rework the way the triplanar part of this shader blend into each side to make it smoother.
I'll aslo work on variation that can take texture input as a base. The texture could be use to create the cross hatching directly as a special texture for the model or to have a texture base on which to add the cross hatching on.

Shader 1

Shader 2

Shader Demo

Shader 1

Shader 1

Shader 2

Shader 2

Shader Difference

Shader Difference