We are developing a 3D slide application,similar to power point. We define a page corresponding to a scene, as the picture shows. So I create a slide with ten pages, these pages each contain an PBRMaterial.
For some reason, the environmentBrdfSampler texture of the material is wrong when you create additional scenes (I compared a snapshot with Spector of both cases).
After comparing a JSON.stringify() of environmentBrdfSampler in both cases, the only notable difference is that glass.environmentBRDFTexture._texture.onLoadedObservable._observers array has 11 elements in the wrong case and 1 in the other case, meaning as many elements than there are scenes.
I will try to look into it tonight and in the worst case over the week end, sorry for the delay, my vacation connectivity is the worst I have had in a long time