Hi,
I am trying to clone a material that has a dedicated _imageProcessingConfiguration
.
This _imageProcessingConfiguration
was defined in the materials JSON description and the PBR Material parser was able to load it.
However this _imageProcessingConfiguration
doesn’t seem to be handled inside the clone
function, leading to a different appearance of the cloned material, which is falling back to the scenes _imageProcessingConfiguration
.
Here is the according PG example.
Is there a special reason for not cloning the _imageProcessingConfiguration
?
It just seems to be missing in the _copySource
function inside decorators.serialization.ts
, whereas it’s available in Serialize
and ParseProperties
inside the module.