Hello, I have 2 questions
-
if we create a custom shader directly in the “/shaders” folder with a text editor can we only use it using a script? I mean is there a way to connect it with a new material?
-
when we create an instance of a material with parameters, is there a way to use the same instance on 2 objects and edit the parameters for each objects from the inspector? Let’s say one has color red and the second color blue or do I need to duplicate the instance and assign a different instance to each objects ? (after testing it seems more that I need 2 instances)