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

Performance improvements for GLES2 CPU blendshapes #51363

Merged
merged 1 commit into from
Aug 16, 2021
Merged

Performance improvements for GLES2 CPU blendshapes #51363

merged 1 commit into from
Aug 16, 2021

Conversation

pixaline
Copy link

@pixaline pixaline commented Aug 7, 2021

Improvement of my GLES2 CPU blendshape implementation. (#48480)
Instead of calculating the shape buffer data every frame, it only does so when the blend values change, leading to much better idle performance. However, converting the vertex data is still somewhat slow, which becomes apparent when frequently changing the blend shape values. But at the very least it should happen outside of the rendering function.

@pixaline pixaline requested a review from a team as a code owner August 7, 2021 13:11
@Calinou Calinou added this to the 3.4 milestone Aug 7, 2021
Copy link
Member

@clayjohn clayjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks for PRing this.

As a side effect this PR also fixes a bug that arises when 2 MeshInstances share a Mesh that uses blendshapes.

@akien-mga
Copy link
Member

Could you squash the commits?

@pixaline
Copy link
Author

@akien-mga There!

@akien-mga akien-mga merged commit 33c9dd8 into godotengine:3.x Aug 16, 2021
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants