Outline and screenspace texture

Add an outline on a 3D model and fill it with a screenspace texture.

shader source :

https://pastebin.com/WfAxEaqP

 

Model comes from :

Stick figure