cloth_constrain.computeShader
Cloth constraint pass for the `cloth` module's GPU simulation. Runs one Jacobi relaxation iteration over the distance constraints of every cloth particle — 4 structural, 4 shear, and 4 bend springs against grid neighbours — then projects the corrected position out of the cloth's…
cloth_constrain
Cloth constraint pass for the cloth module's GPU simulation. Runs one Jacobi
relaxation iteration over the distance constraints of every cloth particle —
4 structural, 4 shear, and 4 bend springs against grid neighbours — then
projects the corrected position out of the cloth's colliders (ground plane +
spheres). The module dispatches this shader several times per frame,
ping-ponging between the two position buffers.
Scoped to this part · feeds back into the world's score.