Replies: 2 comments
-
I think this is the same issue that the one depicted in this ticket (still open) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, it looks like the same problem. Unfortunately it is not solved yet.... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm experiencing a significant performance drop when using R3F/drei Instances compared to vanilla JavaScript (UPDATE: and pure R3F instancedMesh) for rendering multiple instances of BoxGeometry.
Here's the situation:
When I generate multiple instances of BoxGeometry directly in JavaScript (UPDATE: or in pure R3F), I get a high frame rate and no performance issues.
However, when I implement the identical code as a component using R3F/drei, I observe a drastic FPS drop (as shown in the attached screenshot - high CPU usage!).
Can anyone suggest what might be causing this performance discrepancy?
Is this a normal situation?
Does R3F/drei typically cause such a significant performance overhead?
Any insights or suggestions would be greatly appreciated. If you need any additional information or code snippets, please let me know.
Thank you in advance for your help!
Good performance:
Same code in R3F/drei but very low FPS and high CPU usage:
UPDATE:
pure R3F version - performance ok:
Beta Was this translation helpful? Give feedback.
All reactions