Shader to RGB in Cycles
I'm not 100% sure how the node works, but I think due to the nature of the rendering methods, you will need to bake all of the textures/shading. Here is a tutorial: https://youtu.be/sB09T--_ZvU