I’m trying to serialise a PBR Material and save it as a file on my server. I’m using this function:
let serialised_material = BABYLON.SerializationHelper.Serialize<BABYLON.Material>(material);
The problem is my material has a texture that uses a url I believe of some image in the cache.
I want this image to be serialised aswell as a base64 string.