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.
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.
It will come my friend
I’m currently working on adding a random block to the NME ;D
+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