Streams instanced objects over terrain around the camera, for react-three-fiber.
<mesh ref={ground} geometry={hills} /><Scatter terrain={ground} layers={[{ name: 'rock', spacing: 8, lods: [{ distance: 120, geometry, material }] }]} /> Copy
<mesh ref={ground} geometry={hills} /><Scatter terrain={ground} layers={[{ name: 'rock', spacing: 8, lods: [{ distance: 120, geometry, material }] }]} />
Streams instanced objects over terrain around the camera, for react-three-fiber.