Thanks for this topic! !! <3
We’ve been testing for several days now, on Chrome (Brave Linux, not Mobile) without understanding the problem we’re having…
It’s really complicated to grasp, but we use several plugins on PBR Material (same problem with Standard Material), and we need to enable and disable them on the fly.
This would break the rendering of the scene by simply adding the prepareDefines
method with a false to true define… (even without shader code in the plugin…)
The more RTTs we have, the more broken it seems to be (but only on the main render scene, the RTTs are fine either way).
Fortunately, the fix engine.disableUniformBuffers = true;
makes it work!!!
Thanks again for this Christmas present