Page 1 of 1

Color RGB to float

Posted: Wed Mar 08, 2023 4:59 am
by Futureboy
Hi!

I was looking for getting a float output from a RGB. On the tool nodes there is only "float to RGB" but not "RGB to Float".

Node like "Tool_ColorCorrection" require a float input to drive some parameters. I tried to use an RGB as input but it's not considered by the Tool_ColorCorrection

I attached a screen grab of the network to better explain.

Any suggestion?


Thanks

G.

Re: Color RGB to float

Posted: Thu Mar 09, 2023 11:28 am
by juanjgon
The problem is that this input pin is not texturable. You can't link texture nodes (nodes that have a texture output) to this input. It only supports const floats.

-Juanjo

Re: Color RGB to float

Posted: Fri Mar 10, 2023 3:51 am
by Futureboy
Thanks Juanjo for the clarification.

G

Re: Color RGB to float

Posted: Tue May 20, 2025 12:29 pm
by ArtyomPapikyan
is there any way to convert color to float? Sometimes I really need to manipulate float data. :?: :?: :?:

Re: Color RGB to float

Posted: Tue Jul 15, 2025 2:30 am
by dom_otoy
ArtyomPapikyan wrote: Tue May 20, 2025 12:29 pm is there any way to convert color to float? Sometimes I really need to manipulate float data. :?: :?: :?:
Are you wanting to plug a texture into a float input? If so that's not possible.
Now if you're wanting to split one channel out of color texture you can do the tool channel pick node.