• 2D
  • 2D Light and Occluder issue

I have an issue with godot 2D Light and occluder, when my character is behind another object my light source is limited to the inside of that object when in reality he is just behind it.

On the first picture everything works fine, on the second picture my light source is getting block by the sprite and on the third one you can see that the light is blocked mostly on the x axis and also shouldn't appear on the bottom of the pillar. I am out of idea and was wondering if anyone could guide to how I could fix my issue.

Screenshot of the 2D light and occluder settings

Thank You

I have an issue with godot 2D Light and occluder, when my character is behind another object my light source is limited to the inside of that object when in reality he is just behind it.

make the collision shape encapsulate the light occluder, so that your light source can never be within the occluder.

As @Serenitor said. Imagine that you are trying to define only the bottom of the pillar where it is touching the ground.