I understand that Instances are a way to share VertexBuffers between meshes.
I am now looking for a way to only share specific VertexBuffers (say of Color, or Position kind) but let meshes keep their own materials and other VertexBuffers.
The PG I have in mind which would show my attempt at that would create box1 with blue vertex colors, then box2, and then set the color kind VertexBuffer of box2 as a reference to the color kind VertexBuffer of box1.
Finally, perhaps change the VertexData (and therefore VertexBuffer) of box1.
Of course, I should just try that but perhaps there are some first caveats or feedback to consider ?
The motivation is that in X3D (another 3d framework) any kind of node including vertex data equivalents can be shared (by reference) between meshes, and I want to see if it is possible to avoid copying, or reprocessing on updates of the source node in BJS.
Apologies if this is too abstract, I will try to come up with a PG.