Unity Shader Graph Documentation

repository·master·Indexed 22 days ago

https://github.com/unity-technologies/shadergraph

A visual tool for building shaders by connecting nodes in a graph network instead of writing code manually. Key capabilities include procedural surface alteration, UV manipulation, image adjustments, contextual surface changes, and the creation of subgraphs and custom nodes using C# and HLSL.

Tokens
212
Snippets
0
Records
1
Agent score
29%

What's inside Shader Graph

  1. What is Shader Graph and what can you do with it?

    master

    Shader Graph is a visual tool that allows you to build shaders by creating and connecting nodes in a graph network instead of writing code manually.

    Key capabilities include:

    • Procedural Surface Alteration: Procedurally change how surfaces appear.
    • UV Manipulation: Warp and animate UV coordinates.
    • Image Adjustments: Modify object looks using standard image adjustment operations.
    • Contextual Surface Changes: Change surface properties based on world location, normals, distance from camera, or other object data.
    • Material Inspector Exposure: Expose specific shader parameters to the Unity Material Inspector for easy editing.
    • Subgraphs: Share node networks between multiple graphs and users by creating subgraphs.
    • Custom Nodes: Extend functionality by creating custom shader graph nodes using C# and HLSL.