Copy link to clipboard
Copied
Hi
I'm trying to expose the value parameter (lightness) as a float1 from a color node that is represented as a float4. as you see, I attempted to break down the color node into vector float nodes , but it didn't work as I expected. Can you please help me with this issue?
I hadn't spotted that, I should have tested better 😞
It would appear that the node works in RGBA when driven by a function, even when set to Float and HSV before adding the function.
So the function graph needs to be as below to give your required output.
Dave
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Thanks Dave
Due to technical reasons, I have to use color node with it's Color mode ( not Grayscale) to determine the mettalic value of the material.
After using the functions that you provided, I expected the color to become desaturated because the saturation value is 0. But, the color is still blue.
My main goal is to make the Color node with Color mode behave like the Grayscale mode and expose the Value parameter. This way, when the color is blue, the defined parameter can't reach a fully white value (255).
Can you suggest a solution for this issue?
I hope I was able to explain my problem clearly. let me know if you need more information.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
To add to the above, if you also need control over the Hue and Saturation then this should do it:
Dave
Copy link to clipboard
Copied
Fantastic!
I really appreciate your help and expertise. Thank you for taking the time to help me.