Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic attribute support for morph targets #8935

Open
nicopap opened this issue Jun 23, 2023 · 0 comments
Open

Dynamic attribute support for morph targets #8935

nicopap opened this issue Jun 23, 2023 · 0 comments
Labels
A-Animation Make things move and change over time A-Rendering Drawing game state to the screen C-Feature A new feature, making something new possible

Comments

@nicopap
Copy link
Contributor

nicopap commented Jun 23, 2023

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.
@nicopap nicopap added C-Feature A new feature, making something new possible A-Rendering Drawing game state to the screen A-Animation Make things move and change over time labels Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Animation Make things move and change over time A-Rendering Drawing game state to the screen C-Feature A new feature, making something new possible
Projects
None yet
Development

No branches or pull requests

1 participant