the latest service release introduced a display bug in the Grasshopper - Rhino rendering pipeline.
Rhino 7 SR5 2021-4-10 (Rhino 7, 7.5.21100.03001
Grasshopper objects with custom preview settings render correctly in shaded, but not in rendered mode. It seems, that one material is assigned to all objects no matter their individual settings.
To get back the old behavior, please run the command “TestCRMMeshDraw”… you’ll have to run that every time you start Rhino until we can get this fixed… The current goal is to get this into 7.6.