Hi I’m fairly new to ECS graphics, so I would like an advice on what is the best way to apply procedurally modified vertex data (positions only) back to the mesh in DOTS? In my case there will be multiple instances of the same mesh, but based on the calculations the results will not have the same values, so I cannot just modify mesh in RenderMeshArray
component. Ideally it should work well on mobile platforms (iOS and Android). Thanks in advance!
Vanilla Entities Graphics is very limited when it comes to custom graphics. For this sort of thing, you generally have to use a global buffer with your modified vertex positions and a custom material property override component that stores the index of the first vertex position in the buffer for a given entity.
If you want something out-of-the-box and are comfortable with 3rd-party solutions, I have a feature that does this: Latios-Framework-Documentation/Kinemation Animation and Rendering/Dynamic Meshes.md at main · Dreaming381/Latios-Framework-Documentation · GitHub