Unlike all of the previous shaders we have written, the Shader Graph tool requires users to have a project that is using the Lightweight Render Pipeline. The Lightweight Render Pipeline is meant for lower-end hardware, and is focused on drawing with a single-pass and decreasing the draw count wherever possible. For this first recipe, you will ensure that your project is set up correctly, by using the settings that Shader Graph needs.
Creating a Shader Graph project
How to do it...
To get started, we first need to create our new project:
- 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...