godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.44k stars 21.07k forks source link

Vulkan: Tilesets light occlusion leaks #60532

Open jruiss opened 2 years ago

jruiss commented 2 years ago

Godot version

v4.0.alpha.custom_build [5c54770b7]

System information

Windows 10, GTX 1050ti, GLES3

Issue description

Tileset light occlusion leaks through

1 2

Steps to reproduce

  1. Create a tileset with a occlusion layer and a tile covered completely by occlusion rectangle
  2. Place multiple in a row in a tilemap
  3. Create a light with shadow

Minimal reproduction project

tilemap_example.zip

Calinou commented 2 years ago

Can you reproduce this when using the same Sprite2Ds and LightOccluder2D nodes placed manually? This is likely a duplicate of https://github.com/godotengine/godot/issues/55806.

jruiss commented 2 years ago

Can you reproduce this when using the same Sprite2Ds and LightOccluder2D nodes placed manually? This is likely a duplicate of #55806.

Yeah, the light occluder node got the same problem

groud commented 2 years ago

Yeah, I noticed this issue too when working on the TileMap stuff. From my testing, the bug is indeed due to issues in the rendering server internals and thus impacts all LightOccluder2D.