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:
Realising instances and trying to assign a material to each index:
Hope that someone can help me figure this out :) Thanks.