threejs-worldgen
    Preparing search index...

    Function Props

    • Street and countryside props, instanced.

      Parameters

      Returns Element

      const placements = useMemo(() => decorateRoads(city.data()!.roads, world, { seed: 7 }), [city, world])
      <Props placements={placements} nightNode={sky.uniforms.night} states={{ wetness: rain }} />