title: Unity Repeat UV Coordinates On Quadtree Shaderforge
body: <p>As u can see in the image, on larger tiles (n > 1) the texture should be repeated as long as the current rect size.. i don't know how i can achieve this!</p>
  
  <p>FYI, im getting the tile texture id with the alpha value of the vertex color.</p>
  
  <p><a href="https://i.stack.imgur.com/jtJrE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jtJrE.png" alt="enter image description here"></a></p>
  
  <p>Here the shader im using..</p>
  
  <p><a href="https://i.stack.imgur.com/nKAz5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nKAz5.png" alt="enter image description here"></a></p>
  
  <p>[UPDATE]</p>
  
  <p>Thanks for clarifying the uv coordinates, unfortunately that doesn't answer my question. Take a look at the following pixture...</p>
  
  <p><a href="https://i.stack.imgur.com/jc7U8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jc7U8.png" alt="enter image description here"></a></p>