Hi, I am trying to have a cloth simulated on the GPU. Everything works great on my computer, however when viewing from my phone I get some very strange behavior. Basically the cloth collapses into its center. I have implemented some constraints for edges which don’t collapse, but all of the free particles move toward the center. I have done some experimenting and I believe the problem is related to the difference in hardware between my phone and computer (different gpus). I am really at a loss of how to fix this problem though.
I am using floating point textures to control the points, and render to texture to update the positions. On the computer I get the following:
Which is correct. While on my phone I get:
I have done some debugging to make sure the constraints are correct for the cloth. But the problem is coming from when I constrain the vertices. I am out of ideas so any feedback or new ideas would be amazing.