A 2D block lighting system, for block-based games. The lighting system supports point, spot and area lights alongside glow and flicker effects. Colour blending is done across multiple light sources. Lighting requires an attached material with a "Main Color" value, lighting works with textures which can give some great effects.
Features:
- Point, spot and area light types.
- Lights have range and intensity values.
- Full RGB colour blending between lights.
- Works with 3D and 2D colliders.
Videos:
2D block lighting logo with dynamic lights.
4 rotating spot lights.
3 alternating range point lights.
Stress testing.
Example gameplay situation.
Short Tutorial.
The system is based on 3D and 2D colliders, this is a must have on any object that you want lighting.
Thanks to Buch of OpenGameArt for the amazing looking dungeon pack seen in the screenshots.
Not tested on mobile devices.