How to serialize the EdgesRenderer ?

I am a newbie at babylonjs. I use EdgesRenderer at my scene。EdgesRenderer process is Time consuming,so I save scene to glb or babylon files and load it.But it doesn’t seem to work,Can anyone help me?

Edge renderer is not a serializable feature as it is calculated in real time. it doesn’t change the material or the mesh itself, but adds “on top” while the scene renders. The edge renderer’s values should be serialized however. If they aren’t (when exporting to .babylon) it’s something we should add.

Welcome to the forum :slight_smile:

thank you for your answer.look forward to adding this feature in the future.