cat projects/ue-voxelize/index.md
active · updated
ue-voxelize: mesh-to-voxel pipeline
A Blender + Python + Unreal pipeline that converts polygonal game meshes into chunky voxel versions, sampling vertex colors from the source texture and reversibly swapping the variants into a live UE level.


Drag the handle: the source level on the left, the voxelized variant on the right.
A fully automated Python chain between Blender’s MCP and Unreal’s: discover actors, export each unique source mesh, voxelize in Blender, re-import and swap in-engine. Color comes from per-face UV-sampling the source texture onto vertex colors, with baked-in Perlin noise, AO and overhang dirt for surface fidelity. Cell sizes default to scale-aware buckets but are art-directable down to the individual instance via actor tags or fnmatch globs.