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

1 Answer 1

2

Got it,

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.