Author Topic: Inverting a float value - SOLVED  (Read 2437 times)

Hey Guys,

So back again with another Designer basic node question.
How can I invert a float value?

This is what I am trying to do:

I have an effect which happens when opacity is at 00 for the blend node and at 01 the effect is no longer visible. When exposing this opacity option, how do I invert the effect? So when the user slides the value towards 01, internally the reverse is happening.

This is what I have so far, but it's not giving me exactly what I want.

Thank you,
Regards
-G


EDIT:

The inverse is easily achieved by changing the input nodes on blendNode and then using the opposite blending mode, however I would still love to know how do you invert a float value in sliders.
Last Edit: April 08, 2016, 09:57:38 am

Hey Govind,

I always invert values using the simplest method: 1minus.
1 - floatvalue


Best Regards
Environment Artist - Twitter

Thanks so much Fabian, that did help a lot.
It worked.

I was dividing instead of subtraction.

Last Edit: April 08, 2016, 11:45:11 am