First pass at material export
Conditional export of material indices
Only include morph targets if morph targets are present