1

I want to edit the Offset Parameter of Surface Input in Simple Lit Shader of URP in Unity, but I am not able to do so.

I tried using Method SetTextureOffset still cannot update the offset value. Please Help

Here is the Offset I want to change via Script -

enter image description here

AryanshDev
  • 66
  • 2
  • 11

1 Answers1

1

Got it,

Instead of "_MainTexture" use "_BaseMap" in SetTextureOffset and it works

AryanshDev
  • 66
  • 2
  • 11