Float 3 to Float 2 conversion?!

I’m making custom landscape material and this multiply always has an error which can be seen on the image, can i somehow convert float 3 to 2 or maybe do it other way?
float

Can you show the rest of the graph? You need to put a component mask ( RGB ) in earlier on…

I changed it a bit, but there is still the same issue
error

Ok, put a component mask node ( just RG ) here

image

It worked there, but now the problem is in another multiply

Ok, same node here

image

Another issue, i’m just sorry at this point

You can add a zero onto the wire just before ‘base color’, with an ‘append vector’ node.

The other thing you can try, is removing these mask nodes, and adding the zero on to the landscape coords node with an ‘append vector’ nodes. You might still not end up with what you want.

I have never used this grass macro variation function, but one would assume it’s usually used with landscape? Where did you get this example from?

1 Like

Thank you for help, it works now and regarding your questions the Material Function is made by me with help of this tutorial: https://www.youtube.com/watch?v=zY8AtjM2Jxg and the landscape material is made with help of another tutorial: https://www.youtube.com/watch?v=_ED_t6cp-38 I think it would also work if I took everything form the MF and implemented it inside the material, but I wanted to try it that way to learn something

1 Like