Morph targets and instances (not thin instances)

Here is the playground: Babylon.js Playground

Is it possible to instance a mesh that has a morph target manager so that each instance has its own set of influences?

You can see in the playground, I just took the sample code from the deepdive docs on morph targets, and at the end I called createInstance() on the main sphere.

When I clone the morphTargetManager from the original sphere into the instanced sphere, then moving the sliders (in the Inspector “Morph Targets” section) on the original sphere changes the morph on both spheres, and moving the sliders on the instanced sphere does nothing. I expected each sphere to have independent influences at this point.

What am I doing wrong? Maybe InstancedMesh cannot have a morphTargetManager? What are my alternatives then?

You’ll need custom instance buffers and custom shaders, via Node Materials, ShaderMaterial, or Material Plugins.