I created the geometry node according to the images below, the object I'm using in the node is this "lamp" with random color between red and white. But when I use the Realize Geometry node all the colors change only to red.
That is, I would like to know how to keep materials without geometry nodes using perform geometry.