How to build individual sections correctly?

My labyrinth is generated randomly, it consists of separate sections, I have no problems with the construction itself, but there are problems with the light.

using light in real time gives poor visualization; baking the entire scene is not suitable since everything is always built anew in a random order.

Tell me what technology to use for light in such a design? What options are there, what is best to use, how is this done?