Light of Sight - 2D Dynamic Lighting [Open Source]

Hi guys, I have developed a Free to use plugin for creating of 2D dynamic lighting.

Link: GitHub - f15gdsy/2D-Light-of-Sight-Unity: A plugin for creating 2D lighting & shadows, and line of sight effects in Unity3d.

Features:

  • Handles any shapes.
  • Event system that lets an object be notified if it gets lit or unlit.
  • Two kinds of shadow generation method available.
  • All features are supported in Unity FREE version.

Demo:

Hope it helps :slight_smile:
Feel free to use it. Any comments, questions and suggestions are welcome.

Hello, Gamer_Woods!
Thanks for your LOS system, awesome work. I use fullscreen variation without transparency and stuck with a problem. Is there a way to limit the range of the view smoothly fade to the darkness (attached example screenshot)? I use FREE Unity version. Thanks.

Hi, do you mean the farther away from the character, the it becomes darker?
I can think of one simple method to achieve this, which is to add a sprite like the one below on top of everything.
The whiter part is more transparent. The blacker is more opaque.
Hope it helps :slight_smile:

Gamer_Woods, So simple. Thanks again, it’s works for me.