threejs needs to call too many js when building a scene, how to load it on demand?
tried requirejs, but didn"t feel quite in demand.
for example, to build a material, you need to import about 10 + js, but this material is not used initially (such as switching the display requirements of the material)
how to load the 10 + js? when it can be used.