-
I have a soft body simulation on CPU and would like to upload changed vertex coordinates and normals every frame. I am currently doing this by storing |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Uploading large amounts of CPU data to the GPU is expensive, there's not really a workaround. That said there might be unnecessary overhead in Bevy on top of the graphics APIs, I don't know. |
Beta Was this translation helpful? Give feedback.
-
Testing this further, I am getting much faster performance when using as few |
Beta Was this translation helpful? Give feedback.
Testing this further, I am getting much faster performance when using as few
Mesh
objects as possible. Then updating vertex attributes is fast enough. It seems my initial performance hit was more due to having a large number ofMesh
objects.