Color attribute not working in Cycles

Hi! I am trying to use an output attribute from my geometry nodes to set te color into the shader nodes. Looks like it is working fine with Eevee but not with Cycles and I don’t know why.
Maybe is related with the instances, I also tried without Realize Instances node and using the Attribute node in Instancer mode but only shows white color.

Eevee:

Cycles:

Any ideas? Thanks! =)

1 Like

I think there’s some sort of variable name collision when you name an attribute color in cycles. Try renaming it to something else, such as color1, col or lightcolor.

4 Likes

It works!! Thanks a lot =)

1 Like

how did it work ? i dont… may you spill the way ?

Oh sorry I didn’t see your reply!
That’s what Charles was saying, instead of using “color”, which Blender used as an internal variable somehow, I used “color1”.

1 Like