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
Permalink
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
.gitignore
LICENSE FIRST commit of the project May 10, 2017
README UPDATE: Readme updated to point to the post explaining the process May 10, 2017
SpriteLighting.csproj
SpriteLighting.sln

README

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