Is it possible to grab the color of a shader, maybe by copying it's material ID or data path, and link that to a color node in another shader?

I'm working on a Cycles toon shader and I want to be able to pull in a lamp/mesh lamp color to mix with the predefined colors.

Thanks in advance for any thoughts... this is a good community.

enter image description here

  • $\begingroup$ Have you looked at the RGB Mix Node to see if that will help? $\endgroup$ – Craig D Jones Feb 20 '18 at 2:28

One way is to group your colors as a node tree which can be reused in any other material:

enter image description here enter image description here

| improve this answer | |
  • $\begingroup$ Brilliant. Simple solution... I should've thought of that! $\endgroup$ – kopi_bon Feb 20 '18 at 21:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.