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

Add blend shapes support #440

Merged
merged 16 commits into from
Mar 19, 2023
Merged

Add blend shapes support #440

merged 16 commits into from
Mar 19, 2023

Conversation

mrDIMAS
Copy link
Member

@mrDIMAS mrDIMAS commented Mar 19, 2023

This PR adds basic support for blend shapes, this is what they does:

blend_shape

For now, the blending is done on CPU and it is not very fast. Proper GPU support will require some renderer refactoring to utilize transform feedback feature to bake blend shapes + bone animation into a temporary vertex buffer and use it for rendering. Ideally this could be done using compute shaders, but since the engine is also targeting on Web, transform feedback is the only viable option here.

Fixes: #223

@mrDIMAS mrDIMAS merged commit 543b5a1 into master Mar 19, 2023
@mrDIMAS mrDIMAS deleted the blend_shape branch March 19, 2023 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for blend shapes/morph targets/shape keys
1 participant