I have defined a basic Cycles material using nodes in Grasshopper, and it is showing correctly in the Raytraced viewport.
However, once I launch the ViewCaptureToFile command the material looses the reference to the Grasshopper shader graph and reverts back to the default pink material (see attached picture).
Cycles materials created directly within the Rhino panels work correctly.
I’m using the latest version of Rhino 6 and the same problem happens in the current WIP version.
Interestingly, if I import the geometry into Grasshopper and connect it to a Custom Preview node that references that material, the ViewCaptureToFile command works correctly - which at least is a workaround.
By the way, I tried to mess around with the XML definition of the material to see if the problem was there, however as soon as I change anything in the text field both Rhino 6 and Rhino WIP crash.
Am I missing something?
I’m attaching a simple file that shows the problem.