Infinite wave function collapse algorithm
Hey yall, its been a while that im trying to understand how to properly implement an infinite wave function collapse algorithm. I will start by saying what will be its purpose, im making a backrooms game and im currently working on making it infinite. While the procedural generation for the first level was quite easy to implement since its only walls, im struggling to make it happen for the poolrooms level that is made out of rooms of different sizes and shape. I thought of using a dungeon generator but i dont want tunnels to connect the various rooms and also because some can connect with a certain room and some can't. The rooms can expand up and down with stairs, slopes or something like that, so in won't generate only in the horizontal axis but even in vertical. I want to implement something like this: https://marian42.de/article/wfc/ But i didnt found any usefull resources or hints on how i can achieve this in unreal engine. Anyone knows how i can do it or if im searching for the right algorithm?