← Ahmad Bilto

Unity editor tool

Mesh Atlas Builder

Mesh and material combiner with a generated texture atlas

Collapses a prop hierarchy into one mesh and one atlased material. A street of market stalls goes from 2,160 draw calls to 180.

Overview

A market stall is twelve renderers and eight materials, and a street holds a hundred and eighty stalls. Drawn as authored that is thousands of draw calls for scenery nobody looks at directly.

Mesh Atlas Builder walks the hierarchy, packs every source albedo into one atlas, rewrites each mesh's UVs into its cell, and writes a single combined mesh and material.