Get the latest tech news
Light and Shadow
Create Light and Shadow in Godot Engine 4.
Both lights produce the desired lighting.Note that because movable objects no longer shadow themselves we can reset their cull mode setting back to the default. This is the fourth tutorial in a series that covers the creation of a simple true top-down 2D game with pixel graphics, using the Godot Engine, version 4. One imperfection of our lighting is that we can get phantom shadows cast in front of movable objects when they aren't positioned on exact integer coordinates.
Or read this on Hacker News