Full shader as shadergraph node

Hello all,

I have a shader that is imported from another package that is very large and complex. I want to make some changes to it, but only additive ones - that is, I want to take the output of the shader as-is, and add on some other features on top of it. I was wondering if there was a way in shadergraph to use already built shaders as their own blocks as-is, and just pull off of it’s output as the input to other nodes?

I considered using the custom function block, but that doesn’t seem to like it when I try that. Has anyone tried anything like this or have some advice for a way forward?

Cheers

You should look into some examples of the custom function node. I think they should be in the package manager?

I converted a shader to shader graph here myself using a custom function, so this reference may help.

Fullscreen Render Pass: Kuwahara URP Example - Unity Engine - Unity Discussions