hex-world
    Preparing search index...

    Function configureCliffStrata

    • Style the cliff strata baked into the terrain shader, enabling it unless enabled: false is passed. Every field is a uniform flip — no geometry rebuild, safe to call per frame. A material without the uniforms (a custom one, an older pack's) is skipped.

      Parameters

      Returns void

      configureCliffStrata(world.terrainMaterial, { scale: 5, seam: 0.3 }); // finer, sharper beds
      configureCliffStrata(mat, { warp: 0, tilt: 0 }); // dead-level layers
      setCliffStrataEnabled(mat, false);