-
-
Notifications
You must be signed in to change notification settings - Fork 311
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
Redesign Skin
of SkinnedMeshRenderer
#2100
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2100 +/- ##
==========================================
- Coverage 66.09% 66.08% -0.02%
==========================================
Files 460 461 +1
Lines 23013 23058 +45
Branches 3370 3385 +15
==========================================
+ Hits 15211 15237 +26
- Misses 6637 6650 +13
- Partials 1165 1171 +6 ☔ View full report in Codecov by Sentry. |
SkinnedMeshRenderer
logic
SkinnedMeshRenderer
logicSkin
of SkinnedMeshRenderer
shaderData.enableMacro("RENDERER_HAS_SKIN"); | ||
shaderData.setInt(SkinnedMeshRenderer._jointCountProperty, <number>value); | ||
} else { | ||
debugger; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
* dev/1.3: fix: use default material to prevent material[] (galacean#2104) Add `Script` in `onStart` may cause some functions to not be executed correctly. (galacean#2102) "v1.2.0-beta.5" Redesign `Skin` of `SkinnedMeshRenderer` (galacean#2100) Fix glTF renderer component's order is random now (galacean#2097) "v1.2.0-beta.4" "v1.2.0-beta.3" Fix the bug of animation playback for multiple same type components under an Entity (galacean#2095) Support get any subAsset from GLTFParser (galacean#2093) Replace `throw` with `console.error` to prevent blocking the main thread (galacean#2077) Fixed the problem that function macro declaration is lost after compilation (galacean#2087)
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Performance Improvements
Before: FPS: 39 Memory: 103M Load: 300ms
Now: FPS: 48(Up 23%) Memory: 97M(Down 6%) Load: 280ms
Case:

Enviroement:
