2 files with node setups for Sun and Point simulated light sources for a procedural and customisable toon texture shader for Cycles. These gives more control on the looks of a toon shader within Cycles without having to change environment settings and whatnot. These are more of a proof of concept than production ready in some sense, but can come in handy. The images are exaples of render I made with test files and the nodes I'm sharing.
It is part of a proposal for NPR shaders for Blender 2.8x series, but made in Blender 2.79 https://blender.community/c/rightclickselect/p2bbbc/npr-nodes-proposal-for-cycles-2-8x
Made a new version, this one becoming essentially obsolete, leaving it here in case people end up here somehow.