Hello, I am using a gridmap to create Minecraft-like 250x250 terrain. I am using FastNoiseLite to place the blocks at a random height. It is working but needs a while to generate, so I ran the function in a separate thread. Because I am now not doing anything in the main-thread, will running my function in a separate thread increase performance in any way ? Also passing parameters to the function doesn't seem to work. I did
thread.start(generate.bind([250,20,250]))
Also, is there any better way to generate random terrain than using gridmap ? I like this way because the code is short and comprehensible unlike SurfaceTool.
Note I am using Godot 4 rc2