Add occlusion enabled option to TileMapLayer
Partially Addreses
- https://github.com/godotengine/godot-proposals/issues/10121
Now light occlusion can be enabled/disabled per TileMapLayer
Hi, thanks for the contribution. While the change is not that much code, the TileMap node is deprecated. IMHO, unless there's really high demand for it, I would rather avoid new features there.
@groud Hi, I exposed the occlusion enabled property in the TileMapLayer node now :) Do you think we can get this merged if I remove the changes in the TileMap node again?
We are in feature freeze so this won't make the cut in 4.3, at earliest in 4.4.
Also do not forget to squash your commits! See the pull request workflow.
Do you think we can get this merged if I remove the changes in the TileMap node again?
Yeah, I think it would be good to merge without the changes to the TileMap (in 4.4 though, as, like Mickeon said, we are in feature-freeze for 4.3 now).
We can always add the changes to TileMap separately if they are desired, along with the collision enable which
Alright, thanks for the feedback, the TileMap changes have been removed!
Thanks! And congrats for your first merged Godot contribution :tada:
I've been looking all around for the function/code to turn off the occlusion of a tilemap layer and can't find it anywhere. Could I get an example of how to do this?
It's in 4.4 only