π VRMUtils.combineMorphs
π
In #1546, we have a new function, VRMUtils.combineMorphs
, that combines morphs based on VRM expressions.
If you are not using morphs directly via mesh.morphTargetInfluences
, This function might improve the performance, reduce the VRAM pressure, and prevent shader errors in mobile devices caused by models with many morphs.
We recommend adopting this function especially if you are building an application that loads arbitrary models.
VRMUtils.removeUnnecessaryVertices( gltf.scene );
- VRMUtils.removeUnnecessaryJoints( gltf.scene );
+ VRMUtils.combineSkeletons( gltf.scene ); // introduced in v3.2.0
+ VRMUtils.combineMorphs( vrm ); // π introduces in v3.3.0
β¨ New Features
- #1546: Add
VRMUtils.combineMorphs
for reducing the number of mesh morphs