Custom Function Nodes - improvements

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!

Thank you for reporting these issues. We’ve created an internal ticket to address them.
You’re always welcome to post here on the forums, but you may get quicker results in the future if you select Report a problem on this page at the bottom of the page of the documentation with the issue. That process automatically creates an internal ticket that goes to the correct team. Thanks again for the feedback.

1 Like