I generate some instances using geometry nodes, each instance has an id
attribute.
Here is a spreadsheet snapshot showing generated instances :
My geometry nodes are seen below :
I'd like to use this id
from the Cycles material applied to the instances.
So far, I've tried using the Attribute node, Object Info / Object Index, and Particle Info / Index - without success.
My current attempt of shader nodes looks like this :
Is there a way to access the id
value from the material shaders nodes ?
I'm aware that using the "Realize Instances" nodes I could create a mesh with custom attributes - but I need to preserve the actual instancing for complex geometry.