You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Nico de Poel 3d825dd48f Use DestroyImmediate when the scene is not running, to appease Unity's warnings. 2 years ago
..
Documentation~ First import, original HDRP 17 code 2 years ago
Editor First import, original HDRP 17 code 2 years ago
Samples~ First import, original HDRP 17 code 2 years ago
ShaderGraphLibrary First import, original HDRP 17 code 2 years ago
Tests First import, original HDRP 17 code 2 years ago
.buginfo First import, original HDRP 17 code 2 years ago
.npmignore First import, original HDRP 17 code 2 years ago
CHANGELOG.md First import, original HDRP 17 code 2 years ago
CHANGELOG.md.meta First import, original HDRP 17 code 2 years ago
Editor.meta First import, original HDRP 17 code 2 years ago
LICENSE.md First import, original HDRP 17 code 2 years ago
LICENSE.md.meta First import, original HDRP 17 code 2 years ago
README.md First import, original HDRP 17 code 2 years ago
README.md.meta First import, original HDRP 17 code 2 years ago
ShaderGraphLibrary.meta First import, original HDRP 17 code 2 years ago
Tests.meta First import, original HDRP 17 code 2 years ago
ValidationConfig.json First import, original HDRP 17 code 2 years ago
ValidationConfig.json.meta First import, original HDRP 17 code 2 years ago
package.json First import, original HDRP 17 code 2 years ago
package.json.meta First import, original HDRP 17 code 2 years ago

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. Do one of the following, based on your project needs:

Unity recommends using Shader Graph with URP or HDRP.

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.

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