threejs-worldgen
    Preparing search index...

    Function cloudCover

    • Cloud cover 0..1 of a weather field at a point on the planet (body-frame metres, any radius), for genus 0 (cumulus/stratus) or 1 (cirrus). Pure and deterministic.

      Parameters

      • options: Pick<CloudOptions, "coverage" | "featureSize">
      • seed: number
      • p: Vec3
      • genus: number = 0

      Returns number