Why is a 4Float Parameter not a 4 Float?

Hey everyone, is this a bug in the engine or in my brain? (See Pics)


First is what will happen in the funktion

This is how it work

and why dont like this?
whats wrong with my basic understanding…

Hey @N30X13!

So the issue is that the “Clamp/Shift/Multiply_Metal” node is a float3, strangely enough. If I remember correctly, it passes the clamped VALUE as the first float (not the Clamp Min and Clamp Max), then SHIFT as the second float, and MULTIPLY as the third. It’s working as intended. :slight_smile:

Thanks you for the fast answere.
Maybe my english is to bad, but i do not understand whats the issue.
So the Parameter is a 3 float? is there a way to make it a 4 float? (without doing it like me) like I plug the RGBA value in to the (Clamp/Shift/Multiply (V4)) pin?
or is is how i did the correct way?

Hey again @N30X13!

How you did it is perfectly fine!

I think it’s safe to move forward. :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.