Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Light2D inside Light Occluder lights it up #44236

Open
diegomachado opened this issue Dec 9, 2020 · 1 comment
Open

Light2D inside Light Occluder lights it up #44236

diegomachado opened this issue Dec 9, 2020 · 1 comment

Comments

@diegomachado
Copy link

Godot version:

3.2.3 Stable Official

OS/device including version:

Windows 10, RTX 2070, for both GLES2 and GLES3

Issue description:

Light Occluders light up when there's a Light2D inside of it. It should stay in shadows since it's a closed shape, or have an option to disable it while inside an occluder shape.

Steps to reproduce:

  • Create a Tilemap
  • Create a tileset and a tile that has a light occlusion shape
  • Create a Light2D and put it inside the tile
  • Tile will light up

Minimal reproduction project:

hidden_tilemap_light_occlusion.zip

@Calinou
Copy link
Member

Calinou commented Dec 24, 2022

This caveat of 2D shadow rendering may be intentionally used in some existing projects, so I wouldn't change the default behavior.

Consider opening a proposal if you still need this in a project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants