-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
I see the Html component used causes some performance problems for me.
I currently use 14 A11y components in my code and it causes my fps to drop to around 3, while without using A11y it stays close to 60.
Now i've copied your code and created my own A11y component and saw that the main culprit for the drop in fps is line 135 in /src/Html.tsx: camera.updateMatrixWorld();
.
This operation seems heavy to execute every frame for every A11y component. Without this line the location for the a11y component seems to be correct, so is it necessary to keep?
I tested it in Chrome and Safari on mac.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers