Download for MacApple silicon, macOS 14+
Skill

shader-graph-create-custom-node

@unity-technologies Updated 2026-10-16

Generates custom Shader Graph nodes from HLSL code. Use when the user wants a new Shader Graph node or to make existing HLSL work as a reflected function node.

Install

With your agent

Install OMGSkills skill "unity-technologies/skills:shader-graph-create-custom-node" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/Unity-Technologies/skills /tmp/skills && ln -s /tmp/skills/skills/shader-graph-create-custom-node ~/.claude/skills/shader-graph-create-custom-node

From README

Generating a custom Shader Graph node Step 1: Generate an HLSL function definition The function must be preceded by the preprocessor define UNITYEXPORTREFLECTION Step 2: Decorate with Shader Graph hint tags See resources/allhints.hlsl for all valid hint tags and patterns C#-style documentation tags are supported outside of funchints or paramhints blocks Required function hints: sg:ProviderKey sg:SearchCategory sg:SearchTerms sg:DisplayName Step 3: Write the code to an asset Search the project for a ShaderInclude asset (.hlsl) that already contains custom Shader Graph nodes If a matching asset exists, show the user its current contents and ask for confirmation before appending the new code If no matching asset exists, create a new .hlsl asset Ensure the file begins with #include "ShaderApiReflectionSupport.hlsl"