Color RGB to float

Houdini Integrated Plugin

Moderator: juanjgon

Post Reply
Futureboy
Licensed Customer
Posts: 10
Joined: Wed Dec 25, 2019 1:43 am

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.
Attachments
RGB2FLOAT.PNG
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

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
Attachments
2023-03-09 12_28_07-untitled.hip - Houdini FX 19.5.534 - Py3.9.jpg
Futureboy
Licensed Customer
Posts: 10
Joined: Wed Dec 25, 2019 1:43 am

Thanks Juanjo for the clarification.

G
User avatar
ArtyomPapikyan
Licensed Customer
Posts: 10
Joined: Tue Nov 13, 2012 8:25 am

is there any way to convert color to float? Sometimes I really need to manipulate float data. :?: :?: :?:
dom_otoy
OctaneRender Team
Posts: 74
Joined: Mon Mar 17, 2025 9:33 pm

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.
Post Reply

Return to “Houdini”