Hi, I want to add shadows in my 2.5D game but the LightOccluder2D draws a shadow also on my character... How can I avoid this behaviour? Maybe with Light Masks? How can I use them?
Example in video:
https://youtu.be/k9nHyTWbCEI
Edit:
Solution was quite simple: assign different light masks to the occluder and sprite, then assign both light masks to the light! Now both receive light but shadow do not affect sprite
Second problem (optional) :
Now a character can't cast a shadow on an other character due to different light masks.. (lol) how can I resolve this little problem?