In some cases, like using Dynamic Texture and/or GUI, we depend on rendering to a 2D context, which can be pretty slow sometimes. We’d like to support usage of Offscreen Canvas and Web Workers to speed this up. This can be done in many levels, like first only supporting in Dynamic Texture for the user to leverage the WW themselves (see example in Babylon.js/packages/tools/devHost/src/createScene.ts at offscreenCanvasExperiments · carolhmj/Babylon.js · GitHub), evolving to optionally render all of the GUI automatically in a WW, if available.
*Ported From GitHub