I have a curves object made up of multiple disconnected curves. I have two material slots and assigned one of the two materials to each of these curves.
I generate a mesh from the curves via geometry nodes. It's hair. I want to give different color to some strands.
The generated mesh doesn't have any material. It comes out as white. How could I fix that? How could I use the material assigned to each curve for the material of the generated mesh?
The geometry nodes: