pmndrs/react-three-offscreen

Flickering of Canvas

zanlah opened this issue · 1 comments

zanlah commented

I am experiencing an issue with the Canvas where it randomly flickers.
When I use the Canvas from the @react-three/fiberX library (without web workers), my model (which is 2 MB and has 100k faces) works perfectly fine. However, when I switch to using the Canvas from this library, it inconsistently flickers. I suspect that the complexity of the object may be causing this problem. It seems like the flickering occurs when a frame is dropped (but i can't confirm). Furthermore, the flickering appears to worsen over time, as observed after leaving it unattended for a few hours (the gif). Can you provide any insights or suggestions to help resolve this problem?

2023-07-05 19-10-31

you can try use stats.js to inspect the fps npm install --save stats.js, beside renderer.info could give you more informations