Skip to content

Commit

Permalink
chore(en): add more description for MergeSMR
Browse files Browse the repository at this point in the history
  • Loading branch information
Sayamame-beans committed Aug 1, 2024
1 parent fad2037 commit 175ed73
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .docs/content/docs/reference/merge-skinned-mesh/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ Also, it can reduce material slots using the same material, so we can reduce ren
This component makes it impossible to turn meshes on and off individually on animations, but material-related animations will work without modification.

This component will configure Meshes, Materials, BlendShapes, and Bounds but other settings will not be modified.
Please edit SkinnedMeshRenderer component attached to same GameObject as MergeSkinnedMesh to set AnchorOverride or else.
Please edit SkinnedMeshRenderer component attached to same GameObject as MergeSkinnedMesh to set Anchor Override or else.

{{< hint info >}}

If you are using [Modular Avatar], you can add [`MA Mesh Settings`] component to the root of the avatar to set the Anchor Override or else for the whole avatar.

{{< /hint >}}

This component is good for merging your cloth meshes and body meshes but not good for face meshes because BlendShape can cause performance impact.
BlendShape is a feature became heavier in proportion to the count of vertices and BlendShapes.
Expand Down Expand Up @@ -69,3 +75,6 @@ If this checkbox is checked, renderers whose enablement is different than target
If this component found some Materials used in multiple renderers, the Materials will be listed here.

Check `Merge` to merge those MaterialSlots (SubMeshes) into one MaterialSlot. This reduces DrawCalls.

[Modular Avatar]: https://modular-avatar.nadena.dev
[`MA Mesh Settings`]: https://modular-avatar.nadena.dev/docs/reference/mesh-settings
8 changes: 8 additions & 0 deletions Localization/en-us.po
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,17 @@ msgstr "Please exclude this from the source SkinnedMeshRenderers or remove Cloth
msgid "MergeSkinnedMesh:warning:no-root-bone"
msgstr "Root Bone of the merged mesh is not set. This may cause unexpected behavior."

msgid "MergeSkinnedMesh:warning:no-root-bone:description"
msgstr "MergeSkinnedMesh does not automatically set the Root Bone of the merged mesh, so you need to set manually.\n"
"If you are using [Modular Avatar], you can also add [`MA Mesh Settings`] component to the root of the avatar to set the Root Bone for the whole avatar."

msgid "MergeSkinnedMesh:warning:no-probe-anchor"
msgstr "Anchor Override of the merged mesh is not set. This may cause unexpected behavior."

msgid "MergeSkinnedMesh:warning:no-probe-anchor:description"
msgstr "MergeSkinnedMesh does not automatically set the Anchor Override of the merged mesh, so you need to set manually.\n"
""If you are using [Modular Avatar], you can also add [`MA Mesh Settings`] component to the root of the avatar to set the Anchor Override for the whole avatar."

# endregion

# region MergeToonLitMaterial
Expand Down

0 comments on commit 175ed73

Please sign in to comment.