Xpresso - Color node?


#1

hi, i’m looking for the way to use three separate values into a rgb value to set colors, but i’m not sure how to accomplish this…

also, any tips on how to manage color in xpresso are welcomed


#2

You can use a Vector data node [r,g,b] of values from 0 to 1, i.e. [0.5,0.5,0.5] = 50% gray as a color input value but, as an example, a material color can already be broken into separate RGB values in the material using Xpresso natively: Color>Color>Color.R/Color.G/Color.B


#3

thanks for replying, but i can’t follow you, could you please post a screenshot or save file?

thanks


#4

Attached screenshot. If you want to convert vector values of 0-1 to RGB values of 0-255, add a Range Mapper Xpresso node to convert the values for the input. Note that you do not have to use a Vector2Reals node, the values can come from anywhere including User Data input.