Custom 2D lighting solution for realtime shadows + rim lighting for Unity3D, by Rafa del Riego (CrazyBits Studios) Find more info at http://crazybitsstudios.com/rim-lighting-and-realtime-shadows-for-sprites-in-unity-2d-12 Use at your own risk (and pleasure!), as this code just serves the purpose of the original author for a specific project, but you may find it useful as a source of inspiration, as a learning tool, or even in production. Feel free to drop me a line: rafa@crazybitsstudios.com Or tweet me: @crazybitstudios -Rafa