title: Scroll 2D/3D background via texture offset
body: <p>I have been trying to make an infinite scrolling 2D background in Unity using a quad to display a Texture. My idea was to change the offset of the quad depending on the player's position. For some reason when I change the offset my image does not repeat properly and once an offset of 2 has been reached completely disappears.</p>
  
  <p><a href="https://i.stack.imgur.com/c7eNY.jpg" rel="nofollow noreferrer">An image of 3 different x offset values on my texture</a></p>
  
  <p>If anyone knows how to fix this if you could get back to me it would be much appreciated.</p>
  
  <p><a href="https://i.stack.imgur.com/c7eNY.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/c7eNY.jpg" alt="enter image description here"></a></p>