Dynamic attribute support for morph targets
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
The current implementation of morph targets (#8158) works exactly with the following vertex attribute, none more, none less:
- positions
- normals
- tangents
The [glTF 2.0 spec] moprh targets support more than just those attributes. In fact, it's possible to encounter glTFs **without** some of them. In this case, bevy will happily upload a buffer full of 0s to the GPU.
Bevy should handle morph attributes more intelligently, most notably, it should:
- Be able to handle only a subset of morphed attributes
- Be able to handle more morphable attributes, such as texture coordinates or color.
[glTF 2.0 spec]: https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#morph-targets
Contributor guide
Assessment
This issue has not been assessed yet.