Replies: 1 comment 1 reply
-
My bad, i didn't take enought time to understand that three-mesh-ui use shaders rather than canvas. This discussion does not make sense. I don't see any easy way to improve performance related to the keyboard example. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using a canvas, the main browser thread is used.
More Blocks, more mesh, more canvas, . I noticed that the keyboard example is a little (really little) bit lagging on my oculus quest browser.
When using an offscreencanvas, a dedicated worker is used (per offscreencanvas instance). It's suppose to be faster, let the main thread do his job rather than handling canvas.
Offscreencanvas is not available for all browsers yet : https://caniuse.com/offscreencanvas
So what i'm testing is:
I'll give feedbacks on this.
Beta Was this translation helpful? Give feedback.
All reactions