Light2D is a mesh-based 2D dynamic lighting system, interacting with any Collider2D (Box, Circle, Edge and Polygon) and works for both convex and concave shapes. Use point and spot lights for only lighting effects, or use the trigger events for more advanced behavior such for visibility detection, with a spot light as the vision cone. The asset can also be used to implement an occlusion effect, where “un-lit” or “un-seen” areas are obscured from view. The optimization of the lights can be edited per-light giving complete control over the performance. The visual appearance of the the light is determined mostly by a texture, which can be swapped out to create light cookies or numerous other effects with a simple texture.
Overview and Features:
-
Dynamic 2D lighting and shadows
-
Point and Spot lights
-
Trigger events
-
Light Cookies
-
Per-light optimization
-
Occlusion effects
-
Visibility algorithm
Demos
Basic Demo
Occlusion Demo
Stealth Demo
The package is selling on the Asset Store now for $15.
Asset Store Page
Website
From Occlusion Demo