LAB 179 / GEOMETRY + MATERIALS
One mesh. Many surfaces.
Geometry groups map contiguous index ranges to slots in a material array. Change the partition and watch the draw contract update.
Initializing material-array study—
Preparing indexed geometry and group ranges…
- visible target
- —
- groups
- —
- material slots
- —
- draw calls
- —
- indexed elements
- —
- partition
- —
group audit
start + count → material slot
Material-array study failed.
The renderer could not initialize.
Every index belongs to exactly one group. A material edit changes a slot; a partition edit changes group topology and draw-call count.
LAB 179 / MATERIAL ARRAYS