Hi there,
I have been using Unity 2 Beta for the 2D lighting systems. I want to create a flashlight effect for the player using the 2D parametric lights. However, I need the lighting effect to stop at any given wall so that the player cannot see over it. I have created this effect so far by instantiating 100’s of small angled light sources and having each one check for a wall directly in front of them using a raycast.
Is there a viable approach to creating something like this using Unity’s 2D light system? If so how can I go about that?