three-landscape icon indicating copy to clipboard operation
three-landscape copied to clipboard

Infinite mirror grid

Open nwpointer opened this issue 3 years ago • 2 comments

helper to tile a terrain sector in an grid, using mirroring to avoid sharp edged between sectors.

usefull for faking infinite terrain in self similar environments (mountains, sand dunes etc)

nwpointer avatar Nov 16 '21 07:11 nwpointer

proposal:

      <SplatMaterial
        splats={[textures[11], textures[12]]}
        surfaces={[rock, clif, mud, grass1, grass2, mud]}
        orientation={[-1,1]}
      />

nwpointer avatar Dec 05 '22 08:12 nwpointer

orientation is multiplied with uv whenever referenced to effectively flip x and or y sampling direction

nwpointer avatar Dec 05 '22 08:12 nwpointer