Merges a tree's parts into one geometry with groups by material index (0 = bark, 1 = leaves, 2 = fruit), ready for a [bark, leaves, fruit] material array and a single instanced draw per level of detail. Disposes the parts.
[bark, leaves, fruit]
Merges a tree's parts into one geometry with groups by material index (0 = bark, 1 = leaves, 2 = fruit), ready for a
[bark, leaves, fruit]material array and a single instanced draw per level of detail. Disposes the parts.