How to do it...

To get started, we first need to create our new project:

  1. From the Unity Hub, when creating a new project, set the Template to Lightweight RP (Preview):

Shader Graph is currently only compatible with the Lightweight Render Pipeline, so this ensures that the graph will work correctly.

Shader Graph is only available with Unity 2018.1 and above. If you are using a prior version, make sure to upgrade before continuing with this chapter.
  1. Once selected, press the Create project button:

As you can see, this project already includes ...

Get Unity 2018 Shaders and Effects Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.