In an attempt to create an effect like an X-ray photograph I implemented a very simple edge detect node based on OSLs built-in capabilities to calculate derivatives. Might be useful for different toon shaders as well. A node setup is provided in the article as well.
That one is nice, thanks for sharing!