How can I block the light from 2D Point light with walls? I know there is a lot on this topic but nothing recent. Is there a way to do this easily without importing external shaders? Since Unity added 2D light support recently.
@PeanutButte7
I did found a solution by setting the Shadow Intensity at 1 on my light source
and then, the shadow caster 2d will completely block the light.
The only thing is that your shadow will be 100% opaque too.
You can select your wall sprite and at additional settings you’ll find sorting layer
set that layer to other than the default and it will not receive light
since 2D light system lit the sorting layer objects selected in the Target Sorting layer in the light components
you can fairly manipulate it to your requirements.
Regards