… causes a huge memory leak on Chrome when loading many 3d tilesets. We are seeing GPU process of 20 gigabytes which normally before this commit was ~5 gb.
The problem goes away if we comment out this line:
… so something happens in updateRadianceMap that causes propably texture-maps to leak memory a lot.
I couldn’t create a sandcastle out of this yet, not really sure what is going on…
By the way I am wondering if there is an official api to just turn off this procedural IBL?
Here is the sandcastle that produces 1GB size for chrome task managers GPU process with 4 models and 4GB with 100 models. I am not sure if this reproduces the case though… but it is a bit similar to our scenario. (Note: it will load 100 models for tens of seconds)