(26-01-2021, 03:04 PM)josemendez Wrote: Cloth is expensive enough that you should consider whether to use it or not, if it's only for visuals.
GPU simulations scale better with larger workloads, but they generally have a higher base cost than CPU implementations. Even a very simple cloth takes 1 ms to simulate in the GPU, but several larger cloths cost just 1.2-1.3 ms. By comparison, a simple cloth can take 0.2 ms in the CPU, and several large ones can take 20 ms. This means that if you have just a handful of units, it would be considerably faster to use the CPU.
Also, copying data from the GPU back to the CPU is a big no-no, as it's extremely slow. This is required for two-way coupling with rigidbodies, as Unity's rigidbody physics engine works in CPU. So GPU cloth means no rigidbody interaction. Copying it's also required for any custom rendering that does not involve compute shaders to build the mesh or vertex/fragment shaders that take input as structured buffers, so you get less rendering flexibility too.
We're working on a GPU backend for Obi. However it will come with many limitations, and will only make sense for games where cloth is the main feature. You can see some early work here:
https://www.youtube.com/watch?v=BQzZzQMl7x8
All im going to say is the timing of the post was quite suspicious as it came while I had it working and was about to make a post.
![[Image: sFWAN6.jpg]](https://i.snipboard.io/sFWAN6.jpg)
When you say expensive here you really are not lieing it drops from 300 fps to 1fps with very few characters and it appears you made your post while possibly being aware that I got it working, that is all im going to say about that signifying my first post for a refund was accurate on the topic of looking like someone aware of something (and possibly being passive aggressive/defamatory for money in which case you would of gotten paid more than the refund to harass the target into incompetence and be the respectful guy giving a refund making him have loss and less to work with by the force of that payment changing truth and altering relationships to hinder the target they are targetting) something that will never be spoken only deceived over truth of it going on as tinfoil hat wearing. I'm not going to call you out as aware of the criminality, however everyone involved will be outed within time with truth being revealed.
It looks so expensive I dont know if this can even be used for an mmo. It looks almost like you would want it refunded for not being able to be used and I have rope too if this cannot be used in an mmo.
What kind of game has cloth as the main feature I dont understand what you are saying...? It almost looks like you wouldnt even want to do an mmo cape with this.