Chapter 13: Shader Graph – 2D

First released in Unity 2018.1, Shader Graph allows you to create shaders using a visual interface by connecting nodes instead of having to dive into the code. This will allow developers, including artists, to create shaders in a similar manner to material editors in 3D modeling programs such as Autodesk Maya and Blender, or the material editor in the Unreal Engine. At the time of writing, Shader Graph is only supported for certain kinds of projects and doesn't allow the same flexibility as writing shaders from scratch.

In this chapter, you will learn the following recipes:

  • Creating a URP-based Shader Graph project
  • Implementing a simple Shader Graph
  • Exposing properties to the Inspector via Shader Graph
  • Implementing ...

Get Unity 2021 Shaders and Effects Cookbook - Fourth Edition 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.