cloth_vertices.computeShader
Cloth vertex-write pass for the `cloth` module's GPU simulation. Reads one cloth's simulated particle grid and writes the mesh's GPU vertex buffer in the engine Vertex layout (23 u32 per vertex): particle positions, smooth normals from central differences, grid UVs, and a procedu…
cloth_vertices
Cloth vertex-write pass for the cloth module's GPU simulation. Reads one
cloth's simulated particle grid and writes the mesh's GPU vertex buffer in the
engine Vertex layout (23 u32 per vertex): particle positions, smooth normals
from central differences, grid UVs, and a procedural per-vertex fabric pattern
colour (solid / bands / checker / gradient / border). Dispatched once per
cloth per frame with that cloth's own vertex buffer bound positionally.
Scoped to this part · feeds back into the world's score.