threejs-worldgen
    Preparing search index...

    Function WorldTerrain

    • Streaming LOD terrain for react-three-fiber. Props are the full truth: removing a prop reverts it.

      Parameters

      Returns Element | null

      function Scene() {
      const world = useWorld({ seed: 'meadow', mountains: { height: 1200 } })
      return <WorldTerrain world={world} lodFactor={2.5} material={{ debug: 'none' }} />
      }