Fog of War - Iteration 2: I changed the way I handle the fog of war. Instead of drawing a sprite on a texture, I'm using 2D lights and 2D light occluders. To hide or show the entities, I check their position in 2D to see if they are on a black pixel (hide) or a white pixel (show). #godot #gamedev
12 months ago