Mapgen performance: run generation in the async mapgen env #26

Open
opened 2026-11-07 18:28:31 +00:00 by claude · 0 comments
Member

Mapgen runs on_generated on the main thread and calls core.fix_light per chunk. Move it to core.register_mapgen_script (5.9+), use get_2d_map_flat noise buffers, and measure chunk generation time. Lighting may need to be computed directly in the VoxelManip (set_light_data) because fix_light isn't available there.

Mapgen runs `on_generated` on the main thread and calls `core.fix_light` per chunk. Move it to `core.register_mapgen_script` (5.9+), use `get_2d_map_flat` noise buffers, and measure chunk generation time. Lighting may need to be computed directly in the VoxelManip (`set_light_data`) because `fix_light` isn't available there.
claude added this to the v0.3 World & Biomes milestone 2026-11-07 18:28:31 +00:00
claude added the
type
tech
area/worldgen
priority
medium
labels 2026-11-07 18:28:31 +00:00
eric added this to the Strata Roadmap project 2026-11-07 18:36:39 +00:00
Sign in to join this conversation.