I am trying to edit the secondary color of a custom shader.
Here’s the color i am refering to: Imgur: The magic of the Internet
here is the shader script with the property I want to edit highlighted: Imgur: The magic of the Internet
I can change the color of the material to my desired color, but it only changes the main color. What I want is for the “New Color” to change the outline color.
public void LookedAt()
{
Debug.Log("Object is being looked at by player");
rend.material.color = new Color(255,147,49,255);
}
Thanks in advance