How to create shader like this?

How to create a 2d drawing like shader like this mentioned in this videos and pictures?

https://www.youtube.com/watch?v=gjnrtCKZqYg

How’s this?