I use SceneLoader.Append to import my glb file into scene. It contains many meshes with different materials, so their compilation takes a long time — from 1 sec on high end pc, up to 15 sec in Safari.
Is it possible to load all meshes with one default shader and compile scene shaders in background one by one?
Should I use class CustomLoadingPlugin implements ISceneLoaderPluginAsync or there are simplier way to make it?
Yes, I thought the shaders are already compiled when callback calls. My bad =)
But in fact I really can remove shaders from meshes and back it when it needed.