Creating a Shader Graph project

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.

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.