Page 1 of 1

Value Switch

Posted: 06 Sep 2017, 12:20
by Joe Styles
Not sure if anyone else has noticed this but when using a Value Switch in the content editor you can't use it to output colours anymore. It's been like this for a while, sorry I've been meaning to report it.
I have been using a colour switch in my repository which still works.

Attached is an archive to illustrate.

Thanks,
Joe

Re: Value Switch

Posted: 06 Sep 2017, 15:11
by stephen
Hey Joe,

you need to bind this to the color property of a Color Value Node. Use Source Binding for that - Drag an Input Property of the Value Switch, Hover over the Color Value Node until the Property Editor jumps to the Color Value's Properties and bind it to the Input Color Property.
You have bound the Alpha Output Property which cannot be parsed to a color value afterwards, thus the black color.

Best
Stephen

Re: Value Switch

Posted: 06 Sep 2017, 15:17
by Joe Styles
I see, thanks not a bug then :) I'm sure there used to be a small drop down feature if you were binding to a node which had multiple outputs.

Ah well now I know that's great cheers!
Joe

Re: Value Switch

Posted: 14 Sep 2017, 14:58
by Götz_B
When you drag a binding with the right mouse button instead of the left one, Ventuz offers you to connect to both, input and output properties. I guess this is the little drop down Joe meant.