Sand Balls Mechanics Implementation: The Best Way To Deform A Mesh In Unity
The goal of this post is not only to share the implementation but also to find out how naïve implementation could be to have a stable frame rate on a mobile device using the following ways to deform a mesh:
- Single-threaded
- Job system
- Compute shader with AsyncGPUReadback
All approaches were measured using the performance testing package, therefore it can be used as a sample of how to use it.
https://gamedev.center/sand-balls-mechanic-implementation-how-to-deform-a-mesh-the-most-performant-way-part-1/
#meshdeformation #sandballs #computeshader #jobsystem #performancetesting
Post #1867
245