title: How to change a material offset in HDRP material shader type?
body: <p>I was using Unity in 3D mode than I had to change to HDRP:</p>
  
  <pre><code>rend.material.mainTextureOffset
  </code></pre>
  
  <p>and </p>
  
  <pre><code>rend.material.SetTextureOffset
  </code></pre>
  
  <p>were working normally but when upgraded to HDRP, they were not affecting the variables and not changing the scene so I thought they could have another parameter name or function.</p>
  
  <p>To change the color of the material I had to change from: <code>rend.material.SetColor("_Color", colors[0]);</code>
  to <code>rend.material.SetColor("_BaseColor", colors[0]);</code></p>