So I was playing with Shader to RGB nodes, however I encountered a slight problem. I used an HDRI in EEVEE to make a simple lighting setup for my wooper, but it seems that the viewport render is different from the one blender actually show
I can try and move the sliders on the colorramp which seems to fix the issue, but I'd like to know the reason behind this and a possible solution. Thank you in advance.