threejs-worldgen
    Preparing search index...

    Interface ParticleBuffers

    GPU buffers of a system, for custom passes (see the README on extending for MPM).

    interface ParticleBuffers {
        light: any;
        position: any;
        props: any;
        velocity: any;
    }
    Index
    light: any

    x sun transmittance (smoke lighting from the grid), y grid heat, z opacity (from the source).

    position: any

    xyz position (local), w age (s).

    props: any

    x temperature (K), y size scale, z random 0…1, w tint (from the source).

    velocity: any

    xyz velocity (m/s), w life (s; 0 = dead slot).