hex-world
    Preparing search index...

    Function createSmokeGeometry

    • A smoke plume: a column of puffs that swell and drift as they rise, for the rim of a volcano (see applyVolcanoes and its volcanoSmokeLayer).

      Vertex-coloured from a darker base to a paler crown so a single flat material shades it, and merged into one geometry so it instances like any other scatter. It is a static shape — the drift is baked into the offsets, and WindSway bends the top of it with the trees.

      Parameters

      • height: number = 2.4

        Overall height in world units, ground to the top puff.

      • color: ColorRepresentation = SMOKE_COLOR

      Returns BufferGeometry