25

I have been searching on the web and I can't find this. What is the meaning of the color of the node sockets in the node editor?

gandalf3
  • 157,169
  • 58
  • 601
  • 1,133
user1006274
  • 353
  • 1
  • 3
  • 5

1 Answers1

37
  • Grey is a single value

  • Yellow is a tuple containing 3 values; the red, green, and blue channels of a color.

  • Purple is a tuple containing 3 values. Used for vector/coordinate information.

  • Green is a shader closure, representing a description of how light will interact with a surface or volume. This one can only be connected into other green sockets.

Note that these will be converted to/from each other automatically as much as possible:

  • Yellow and purple can be connected to each other without any loss of information (under the hood they are pretty much the same).

  • Grey can be connected to yellow or purple without any loss of information (all three values in the tuple will the same value)

  • Yellow and purple can be connected to gray, but will be converted to a single grayscale value:

enter image description here

More info on this link:

Cycles - (Shader) Nodes - inputs outputs - What are the exact data types?

susu
  • 14,002
  • 3
  • 25
  • 48
gandalf3
  • 157,169
  • 58
  • 601
  • 1,133
  • 2
    I would say that it's blue, not purple, but maybe that's just my color scheme (#6363c7).. And I would summarize the blue nodes as "vector/coordinate" information since they are used for UV and normal information. – Mutant Bob Jul 13 '15 at 21:32
  • @MutantBob Mine are the same color, but for whatever reason they look purple to me. Added note about vector/coordinate information – gandalf3 Jul 13 '15 at 21:46
  • 1
    I found this by searching "node editor gray purple". – AndreKR Sep 22 '19 at 07:29