I am trying to instantiate a model that has a PBRMaterial with iridescence. For some reason, the iridescence subconfiguration is not cloned even though I have cloneMaterials = true
.
Here you can see the original sphere on the left with iridescence, and the instantiated sphere on the right without it.
Is there another setting or option to make sure these subconfigurations are also cloned?
I see the same problem as well when cloning PBRMaterial using local cube maps for refraction: https://playground.babylonjs.com/#DY96Q2#1
Hello! Indeed anisotropy was missing from the clone method, thanks for the report, I’m working on a fix 
Actually, it is iridescence
which is missing 
Ooops, I was thinking of that but wrote the wrong word, guess I haven’t woken up fully yet 
Thank you so much for the quick fixes!
2 Likes