I'm having trouble figuring out how to assign a gradient material for each instance in geometry nodes? I have this recursive setup of circles where I want to assign a gradient material that faces the same direction on each instance:

Simplified sketch of what I want to achieve: enter image description here

3d viewport: enter image description here

Realising instances and trying to assign a material to each index: enter image description here

Material: enter image description here

Rest of the geo node: enter image description here

Hope that someone can help me figure this out :) Thanks.

Blend file:

  • $\begingroup$ Without setting it up myself, can you tweak & apply the setup from this post to your problem maybe: Set Different Material on Each Instance? To make it easier to reproduce your exact complex GNodes setup, you could share your .blend file. You can use this service to upload your file: Blend-Exchange and then copy the link to embed the file to your question (like described here: Blend-Exchange Help. $\endgroup$
    – ho.s
    Commented Sep 24, 2022 at 15:48
  • $\begingroup$ Please be more specific about your problem or provide additional details to show exactly what you need. The way it's written now, it's hard to see exactly what you're asking for. Thank you! $\endgroup$
    – quellenform
    Commented Oct 2, 2022 at 11:41
  • $\begingroup$ Hi quellenform Thanks for you response. I added a quick sketch of what I want to achieve with the gradient material. $\endgroup$ Commented Oct 3, 2022 at 20:00
  • $\begingroup$ Updated the question a bit. My problem is still to get the same material instanced on each circle and then to make it face the same direction. I had some luck with using an image material for each instance, but then I couldn't figure out how to make the material face in the same direction 😵‍💫 $\endgroup$ Commented Nov 30, 2022 at 16:59

1 Answer 1


If you don't realize instances then each instance should have its own Generated coordinate space.

enter image description here

  • $\begingroup$ Thanks :) But it doesn't work in this setup, unfortunately.. If I don't realize the instances the whole setup doesn't show in the viewport, and because each instance is rotated the material will most likely be rotated in different directions. $\endgroup$ Commented Dec 1, 2022 at 7:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .