Generate Procedural Mesh

Does anyone have an idea what could cause these lines in the shadows? It seems to be a pattern of squiggly lined squares. I have tried a different material and it still happens. I am using a slightly modified version of the factory from the tutorial.

Edit: As always I find what is wrong (at least partially) once I post the question. The terrain is build of mesh blocks and light is “bleeding” past the block edges, even though they perfectly fit with the neighbour blocks. Now to figure out how to properly solve it.

Additionally how do you guys handle the lightmass importance volume with very large (nearly infinite) terrain? Do you just scale it up to an extreme size?

4a645aebe22b074a8d686abff51dca9c2cf182c6.jpeg