How to use InstanceID?

Hi

How can I use InstanceID in my example to make it work.

I made an example of what I need to do.

I have a grid of boxes that are in vertices of a ground.

Ground vertex output is distorted by noise with global position.

I was thinking I could have the same like noise controlling the instances. But they are coming all twisted.

If I plug in the noise seed Mash.position they are straight how I wanted but they are not following the noise pattern from the ground.

How to do that in nodeMaterials only? How to modified boxes material so it will work?

Regards
Peter

You can use the translation part of the instance matrix to get the delta in height.

1 Like