Hi, can multiple meshes use the same edgesRender? Cloning or using creatInstance on the meshes material doesn’t attach the edgesRenderer.
I ask this because my scene contains many meshes that use edgesRendering and so there are also many lineShader materials that are the same. Ideally I would like to optimize the scene and use createInstance so there is one lineShader being used by multiple meshes.
You can not share the edgesRenderer accross meshes unfortunately. But it should be totally fine with instances as long as you enable the renderer on the root mesh.
Thanks for your reply. I have enabled the edgeRenderer on the root mesh and created an instance of the root mesh, but the edgeRenderer is not shared. How can I do this?