Get Random Value in Node Material Editor

How would you go about getting a random value?

I would like to deform a mesh randomly with each vertex being deformed along its normal/tangent by a random value.

1 Like

It will come my friend :smiley:
I’m currently working on adding a random block to the NME ;D

1 Like

+1 Upvote! LOL

hey there,
you can do it like this:

https://nme.babylonjs.com/#XDUFVU#9

the relevant nodes are everything between “random after this” and the “fragmentOutput” node.

This will exactly be what I will add in the node :wink:

1 Like