- Home /
[2d]Light casting outside of a ShadowCaster GameObject
Hello,
I`ve been messing around with the experimental 2d lighting in UPR. And I`ve stumbled into an issue, when I put a point light into an object with the Shadow Caster 2d, the light won't shine outside of the object (shown on the left in the first picture). The right side of the first picture shows what happens if I turn off the shadow caster.
My desired result is this, the point light ignoring the game object it is placed inside, as seen in picture 2.
I`ve tried messing around with the sorting layers, but that doesn't seem to work, because even if I deselect the sorting layer the GameObject is in, it still won't cast light outside of it.
Maybe it's a bug, I hope it is.
Your answer
Follow this Question
Related Questions
(URP) Is there any way to make 2D shadows fade over distance using URP? 0 Answers
tilemap 2d rendering on Y plane 0 Answers
Sprite not visible from behind 0 Answers
Missing shadows on custom steppedAtten shader 0 Answers
shadow quality per object? 0 Answers