ShaderMaterial serialization/deserialization

#1

Hi all,
when I serialize a scene with a ShaderMaterial, the custumType property is set to “ShaderMaterial” instead of “BABYLON.ShaderMaterial”. This cause an error in deserialization step because the registered type is BABYLON.ShaderMaterial.

Thanks,
Matteo

0 Likes

#2

good catch, fancy doing a PR?

0 Likes

#3

Hi @Deltakosh,
just done.
Matteo

1 Like

#4

will merge soon

0 Likes