This documentation really needs some looking at (Custom Function Node | Shader Graph | 14.0.11 (unity3d.com))
- The editor (2022 LTS) links to the wrong page for starters (Unity - Manual: Unity Manual (unity3d.com))
- There are simple typos like Outputs apparently defines inputs!
- It does not point out that Inputs must be in the same order as they are in a function definition (in an hlsl file). Maybe obvious, but will catch you out and not show an error!!
- There just is a lack of examples - reading the normal and depth buffer is not shown and that is super useful for fullscreen effects to avoid silly-complex shader graphs. If there is a guide somewhere please link to it!