All shading techniques were carried out in the fragment shader, apart from edge drawing which was done with a two-pass technique and partially carried out in the main loop and vertex shader as well. All the listed shading techniques are implemented, though texture-based hatching could use some work. There is also implementation for the user to change all the colors used in the simulation as well as to move the lights and move around the scene.
Artifacts:
Sources:
https://www.cs.utah.edu/~shirley/papers/gooch98.pdf
http://cgstarad.com/Docs/GSContours.pdf
http://hhoppe.com/hatching.pdf
http://www.lighthouse3d.com/tutorials/glsl-12-tutorial/toon-shader-version-ii/
http://sunandblackcat.com/tipFullView.php?l=eng&topicid=15