After lunch, I want to replicate the sketch shader I wrote for the Pencil-vs-Camera project. Additionally, I wrote a one-pass shader for dotted drawing / sketch post processing effect, which I think is more aesthetically pleasing.

Dotted Drawing Demo

Click on the play button in the left bottom corner of the embedded ShaderToy window below, to play the real-time dotted drawing shader; or click on this link to redirect to the demo page.

It runs at over 60fps on my GTX 980 & 1080. If it does not run smoothly on your workstation, please comment below.


Press the mouse for a slower but more classic sketching effect, though I prefer the dotted version.

GLSL Code

Shader forked and related ones are listed in the code.

More Pictures

Dotted Drawing for Lena

Original image comes from: http://www.cs.cmu.edu/~chuck/lennapg/lenna.shtml