Page MenuHome

Custom node socket from NodeSocketColor is only grayscale
Needs Triage, NormalPublic


System Information
Operating system: Win 10 64 bit
Graphics card: RTX 3090 and GTX 1050 TI

Blender Version
Broken: (example: 2.92.0, ???, master, 2020-02-19, as found on the splash screen)
Worked: none

Short description of error
For a import/export plugin i need to create custom node sockets in order to be able to distinguish the sockets on export.
I tried to create a custom Socket inheriting from NodeSocketColor but when this socket is used the output color is always black and white only.
Not sure why that is.

using the principled BSDF:

using the principled BSDF via the custom color socket:

the internal structure of the node group:

Exact steps for others to reproduce the error
Simply load the sample.blend file there is already everything set up in the shading view.