Instanced mesh random maze generator

Thanks TechLord. This is the big advantage of the array. From it i can have infos to random populate with instanced props and spawned blueprints / actors.

About occlusion : for this new 10k tiles maze with nothing more, my fps is always upon 60 and regularly to 90. It goes down for the populated own but mostly because of the lights (then i separated lights in 2 : the instanced mesh and a blueprint with an overlap toggling visibility box and it goes down to 40 on fights but is usually around 50 (with a phenom 2 x4 955 3.20 ghz 16 mo ram) both in full screen. For both i added only a basic lightmassvolume / postprocess (for no blur and custom depth blendable) and precomputed visibility (not sure why i did now ^^)

I haven’t check the replication because i haven’t do nothing with replication yet (so much to learn and so little time :p) but as all is ready to transfert, i suppose it is a doable thing.

For now i have only an orthogonal 2d set where you can change x or y. But with few changes in algorithm it would be doable.
For the generating array system you can for example if this is for a tree, use a ranged value for each type of tree part and use it as a relative location / rotation from its parent. like range 1000 for trunk, 100 for large branch 10 for branch and 1 for flowers. with a 1 to 9 value so 9 relative positions to parents. Then, you do 4 instanced grid and each time you find a ranged value you add instance to the relative location of the parent (it will may need an added value or a second array, not sure). but it needs some prepared meshes with origins / ends well fitting to not have a lot of hardcoded variations. (as i write this i think that it seems really cool lol, i’ll have to give a try to this idea ^^) of course some variations need to be added like have 0/3 branches and 2 / 6 flowers on each but it looks funny to try.
And it will be the same way for all other types of maze, with adjustments.

Only main issue is the infinite loop generating array which does limitation for a “do all at start” stuff. I have been able to go 50k for now. (15 * 15 mazes of 15 *15) and it goes 60 fps as the other. This is not bad but it needs a another * 20 to reach the million tiles epic level ^^.