Mesh Update for instancing
Closed this issue · 1 comments
matajoh commented
Mesh update doesn't work when enable_instancing
is used on a mesh.
matajoh commented
Some thoughts:
- We obviously leave the instanced mesh alone
- Positions can be quantized as they currently are.
- The transform quaternions will need to be quantized
So a few takeaways are:
- This will need its own method and throw an unsupported exception if an instanced mesh is passed to the current function (and vice versa)
- I think we continue to share vertex colors from the base mesh across all update instances until specific use cases demand otherwise.
- Not sure how quaternions will handle this form of compression/quantization. Will require analysis.