A solo developer's cloth simulation engine handles two-way collisions, a rarity among game engines

Cloth Simulation with XBPD

A developer building a small native 3D engine called drie implemented an XPBD cloth solver that runs in compute shaders, with deterministic replay, crease preservation, aerodynamic drag, and two-way collision between cloth and objects—a feature few engines offer without add-ons. Tangling and ripping remain tricky: points slip through coarse meshes, and drag handles act as tethers that make the cloth feel like jello. WebGPU demos include handkerchiefs, furniture drapes, and banners.

The two-way collision is pretty sweet — as far as I've researched, very few engines have it without add-ons.
  1. mandeepj

    These days a lot of startups are using vision models for quick try-on clothes and seeing products in your home. These are funded by YC. I will add links later. Not saying they are better than cloth simulation.

    I had a startup in the this space. For some reason, virtual tryrooms never caught on with people.

  2. enjoyyourlife

    If you don't have WebGPU enabled, https://claude.ai/artifact/YV3wTiemkwoKcBthirFp33 has a cloth simulator that works without it

  3. pixelpoet

    Typo in the headline, PBD stands for Position Based Dynamics.

More from this day

2026-11-30