Description
In my case i have a sort of 3d models gallery with many canvases so I eventually reach the
WARNING: Too many active WebGL contexts. Oldest context will be lost.
and the later THREE.WebGLRenderer: Context Lost.
. I could use just one canvas for many models but the gallery has other things other than 3d models + they are encapsulated in non-threeJs components.
I am also aware of this https://stackoverflow.com/questions/21548247/clean-up-threejs-webgl-contexts but I wanted to know if there is a way to do so and keep fiber's more react-friendly ways
Also what would be the best way to collect a thumbnail lets say using Fiber? From the canvas html element within fiber's Canvas or through https://threejs.org/docs/#api/en/renderers/WebGLRenderer.domElement ?
Thank you in advance