Builds one terrain chunk: heights, normals, ground colours, material splat, biome colours and a skirt. Pure (no three.js, no DOM), so it runs the same on the main thread and in a worker.
Builds one terrain chunk: heights, normals, ground colours, material splat, biome colours and a skirt. Pure (no three.js, no DOM), so it runs the same on the main thread and in a worker.