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

SkinningNode: Fix previousBoneMatrices #30161

Merged
merged 2 commits into from
Dec 18, 2024
Merged

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Dec 18, 2024

Related issue: #29991

Description

Fix webgpu_postprocessing_motion_blur after ignore MRT in shadow rendering.

@sunag sunag added this to the r172 milestone Dec 18, 2024
Copy link

github-actions bot commented Dec 18, 2024

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 339.4
79.05
339.4
79.05
+0 B
+0 B
WebGPU 486.51
134.96
486.63
135.03
+118 B
+62 B
WebGPU Nodes 485.98
134.87
486.1
134.92
+118 B
+58 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Before After Diff
WebGL 465.3
112.11
465.3
112.11
+0 B
+0 B
WebGPU 555.65
150.41
555.77
150.47
+118 B
+61 B
WebGPU Nodes 511.54
140.14
511.66
140.2
+118 B
+59 B

@sunag sunag marked this pull request as ready for review December 18, 2024 22:04
@sunag sunag merged commit 428eb72 into mrdoob:dev Dec 18, 2024
12 checks passed
@sunag sunag deleted the dev-skinning-velocity branch December 18, 2024 22:14
if ( useVelocity ) {

object.userData = object.userData || {};
object.userData.useVelocity = true;
Copy link
Owner

@mrdoob mrdoob Dec 19, 2024

Choose a reason for hiding this comment

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

May be better to do a local WeakMap for this?
I think we should avoid leaking renderer internals into userData.

Copy link
Owner

Choose a reason for hiding this comment

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

Oh, I can see that it's being accessed from another class...
Maybe better to call it _useVelocity then?

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.

2 participants