Unity Volumetric 2D Lighting
Another thing that always fascinated me was volumetric 2d lighting in videogames, such as flashlights in stealth games or lights that seem to cast proper shadows.
Platform
PC
Engine
Unity 5
Technologies Used
C#
ShaderLab
Unity
Another thing that always fascinated me was volumetric 2d lighting in videogames, such as flashlights in stealth games or lights that seem to cast proper shadows. So I started researching, and came up with a very basic implementation. Did not really care about performance, though it wasn’t too obscenely bad.
Unfortunately, while it was possible to adjust the light cone’s angle, I did not find any videos I took where I show how that looks. I cannot find the source code either.