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 warning regarding usage of computeBonesUsingShaders and morph targets #388

Merged
merged 1 commit into from Nov 17, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions content/How_To/mesh/How_to_use_Bones_and_Skeletons.md
Expand Up @@ -397,6 +397,8 @@ poleTarget.setEnabled(false);

Bones are computed using shaders by default. This allows better performance. But on low end devices, shaders could be limited and not able to process bones. You can in this case ask Babylon.js to compute bones using CPU by setting `mesh.computeBonesUsingShaders = false`.

**Warning**: `mesh.computeBonesUsingShaders = false` is incompatible with morph targets! If you have to use morph targets, you must set `mesh.computeBonesUsingShaders` to `true`!

## Debugging

Starting with Babylon.js v4.0, you can use the Inspector to turn [skeleton viewer](/toolsAndResources/tools/inspector#bones-viewer) on and off.
Expand Down