I am currently working on a project using threejs version 106, where I have integrated both the webGLRenderer
and CSS2DRenderer
.
My main challenge lies in loading a glb
model and displaying a loading progress bar utilizing the onProgress
callback of the loader
. Although I am able to hide the loading screen once the progress reaches 100% and trigger the renderer, there is a delay in rendering the geometries on the canvas.
Is there a way for me to determine when the assets are fully displayed on the screen so that I can remove the loading screen without causing any delays for the user?
Any assistance on this matter would be highly appreciated.