Hello!
I think in this case you could use shadow.Destroy() when deleting the chunk, and shadow.Apply() to re-add the shadow to the renderer.
Regarding preventing light from passing through walls, see: Light leaks through the wall (even with shadows)
Hello!
I think in this case you could use shadow.Destroy() when deleting the chunk, and shadow.Apply() to re-add the shadow to the renderer.
Regarding preventing light from passing through walls, see: Light leaks through the wall (even with shadows)