I have some instances of mesh objects made with geometry nodes. I use a displace modifier after the geometry nodes modifier in order to displace them. This only works if I include the “Realize instances” node. I also apply a gradient material to each of the objects individually with the set material node. But this only works if I don’t include the “Realize instances” node!
Is there a good way to do both? Note I use Eevee, so I can’t do the displacement in the material shader.
Here is my setup with the material working as intended. The displacement doesn’t work:
Here it is with displacement working. But now the material doesn’t work - the gradient is put on top of all cyllinders at the same time, instead of a separate gradient for each cyllinder: