zhangwenjie 121a338d00 feat: 项目源码 1 rok temu
..
Documentation~ 121a338d00 feat: 项目源码 1 rok temu
Editor 121a338d00 feat: 项目源码 1 rok temu
Samples~ 121a338d00 feat: 项目源码 1 rok temu
ShaderGraphLibrary 121a338d00 feat: 项目源码 1 rok temu
Tests 121a338d00 feat: 项目源码 1 rok temu
CHANGELOG.md 121a338d00 feat: 项目源码 1 rok temu
CHANGELOG.md.meta 121a338d00 feat: 项目源码 1 rok temu
Editor.meta 121a338d00 feat: 项目源码 1 rok temu
LICENSE.md 121a338d00 feat: 项目源码 1 rok temu
LICENSE.md.meta 121a338d00 feat: 项目源码 1 rok temu
README.md 121a338d00 feat: 项目源码 1 rok temu
README.md.meta 121a338d00 feat: 项目源码 1 rok temu
ShaderGraphLibrary.meta 121a338d00 feat: 项目源码 1 rok temu
Tests.meta 121a338d00 feat: 项目源码 1 rok temu
ValidationConfig.json 121a338d00 feat: 项目源码 1 rok temu
ValidationConfig.json.meta 121a338d00 feat: 项目源码 1 rok temu
package.json 121a338d00 feat: 项目源码 1 rok temu
package.json.meta 121a338d00 feat: 项目源码 1 rok temu

README.md

Shader Graph

Screenshot of Shader Graph

A Shader Graph enables you to build shaders visually. Instead of hand writing code you create and connect nodes in a graph network. The graph framework gives instant feedback on the changes, and it’s simple enough that new users can become involved in shader creation.

Unless you intend to modify Shader Graph or want to try out the latest and unsupported features, Unity recommends that you install Shader Graph through the Unity Package Manager:

  1. Open a Unity project.
  2. Open the Package Manager window (Window > Package Manager).
  3. In the Package Manager window, in the Packages menu, select Unity Registry.
  4. Select either Universal RP or High Definition RP, depending on your project needs. Unity installs your chosen render pipeline and Shader Graph. Shader Graph isn't compatible with Unity's built-in render pipeline.

Instructions

If you want to try out the latest features, we recommend obtaining the most recent version of Shader Graph through the Unity Scriptable Render Pipeline (SRP) repository, which includes the Shader Graph project as a Git submodule. For more information on Git submodules, see Git's documentation on Submodules.

If you don't install Shader Graph through the SRP repository, you don't have any Master Node backends available and your shaders are invalid. Invalid shaders appear pink in the Unity Editor. Installing through the repository also ensures you have a compatible set of render pipeline and Shader Graph versions, as Shader Graph isn't compatible with Unity's built-in render pipeline.

For more detailed instructions for installing from the repository, see the SRP repository's README.