I am making a voxel game. I have researched lighting techniques, and the minecraft-style algorithm appears the most efficient. When blocks are placed, they are marked for update. The engine performs a recursive algorithm on them that forms a diamond-shaped pattern like this:
My question is how you would remove lights using such an algorithm. Suppose your light setup looks like this: (The 2s would be the light sources)
And you wanted to remove one of the light sources. From what I have seen, it would produce a result like this:
A diamond-shaped pattern around the light source would be removed. How can I remove a light source without causing this effect?