How to install Shader Graph

By 10/07/2018 March 6th, 2019 Shaders

To start creating shaders with Unity’s Shader Graph, it’s necessary to follow a few steps and setup a project correctly, supporting the new render pipelines.

  • Make sure your project’s version is 2018.1 or above, or create a new one. I’m going to create a new project with the version 2018.2.0f1
    I’m also ignoring the “template”, we’ll add the new render pipelines manually.

Create new unity project - Unity3D Shader Graph tutorial

  • Install the render pipeline you prefer from the package manager. I’ll install the lightweight pipeline.

Add the new render pipelines - Unity3D Shader Graph tutorial

For info, here is the Unity’s description about the Lightweight Render Pipeline and High Definition Render Pipeline.

  • Create the pipeline asset (Lightweight or High Definition, depending on what you added), from the project window.

Create the pipeline asset - Unity3D Shader Graph

  • A lot of people miss this step and see pink materials, but it’s really important: set the scriptable pipeline asset in the graphics settings.

Add the pipeline asset to the graphics settings - Unity3D Shader Graph tutorial

  • Check if everything works, by creating a new shader, applying it to a new material and seeing if it’s pink or not. (pink materials means that something went wrong).

Test if everything is ok - Unity3D Shader Graph tutorial

That’s it!
Now you can use the new Shader Graph and experiment new shaders!

Here’s my quick introduction to Shader Graph.