I have a basic geo-nodes setup so that I can instance a mesh on particular verts. However, I would like the material of the mesh that I am instancing to use its position to determine what each bulb's color should be, in accordance with the color ramp (and noted by the arrow in the below image):
I already know that I can realize instances and join everything to do this. But I'm trying to accomplish this in either the material or the geo-nodes array, if possible, so that I can quickly develop stuff without needing to realize-join-etc.
Thanks in advance for any help you can offer.