Hello @wynott is your question answered by @diff-arch, which mean you didn’t even try to search if this functionality even exist. Just use Shader and Grasshopper as keyword and you’ll find many example.
Or is there a sort of question in your image? Like is it possible to output values from shader and use them in Grasshopper? From what I understand Shader only “discuss” internally in the graphic card. Could be cool if it was possible to reuse directly some algorithm. In this link I rewrote something from shader.