2vector material parameter?

I have a conveyor belt material which uses panner to move the belt along. I’d like to have different conveyors use different speeds, which will also require the material to shift faster, unfortunately, panner uses a 2vector to control horizontal and vertical scrolling and, for some reason, making 2vector into a parameter turns it into a 4vector, which makes using it a bit of a difficulty.
Is there a way to use 2vector as a parameter? Or maybe combining two 1vectors into one pin for the panner?


Also, sorry if “rendering” category doesn’t fit the question. I couldn’t find anything about materials specifically

Yes, either just make a Vector2 from the R&G from the Vector4 Parameter, or make a Vector2 from to scalar parameters - look for “MakeFloat2”

image

3 Likes

I know this is an old thread, but this really bothered me as well, it feels like extra nodes that simply add to the spaghetti, not sure why the Editor UI cant have parameters for Vector2 or Vector3… it just makes the inspector extra verbose and a little user ‘unfriendly’ in my opinion…

Like this:

1 Like

This is exactly what I’m after as well… sadly no solution so I reported this as a bug.
I’d suggest people do the same to bring back the good (non broken) vector 2d parameter

1 Like