Custom 2D sprite lighting with shadow casting and rim lighting
ShaderLab C#
Switch branches/tags
Nothing to show
Clone or download
Latest commit df9e28c Oct 5, 2017
Failed to load latest commit information.
Assets FIX: Fixed condition in fragment shader for lighting the outline of s… Oct 5, 2017
ProjectSettings FIRST commit of the project May 10, 2017
LICENSE FIRST commit of the project May 10, 2017
README UPDATE: Readme updated to point to the post explaining the process May 10, 2017


Custom 2D lighting solution for realtime shadows + rim lighting for Unity3D, by Rafa del Riego (CrazyBits Studios)
Find more info at

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:
Or tweet me: @crazybitstudios