threejs-worldgen
    Preparing search index...

    Function bakeNoiseVolume

    • Bakes a tileable 3D noise volume, size³ texels × 4 channels (bytes): r, g, b are independent fBm fields (a vector potential for curl noise), a is billowy fBm (smoke and flame density). Value noise on an integer lattice that wraps at size, octaves octaves starting at a base-texel period. Deterministic in seed. Pure (no GPU); see noiseVolume for the cached texture.

      Parameters

      • size: number
      • seed: number
      • octaves: number = 4
      • base: number = 8

      Returns Uint8Array