Per Object Shader Values (URP)


I have a shader that changes that remaps the colour (perfect blue and perfect red independantly) to a set colour in Unity. I am using the URP renderer. If I change the colour variable on one objects, all of the other objects with that shader are also changed. Is there any way to instance the material per object in unity?

Thanks very much for your help.

Turns out I can just create a new instance of my shader and apply it to a new material and then give that to each object in script at runtime.