Source metadata

Key takeaways

  • Shader Graph is Unity’s visual shader editing tool, allowing shader creation without hand-writing all shader code.
  • Shader Graph support depends on the render pipeline. URP and HDRP are the main targets. Since Unity 2021.2 (Shader Graph 12) it can also target the Built-In Render Pipeline, but only “for compatibility purposes”: Built-In support gets bug fixes, not new features, and “not all blocks are compatible with all targets”.
  • This makes Shader Graph an engine workflow tool as much as a shader concept.

Notable claims

  • Unity’s docs explicitly describe Shader Graph as a visual alternative to writing shaders directly.
  • Render-pipeline support is central. “As of Unity version 2021.2, you can also use Shader Graph with the Built-In Render Pipeline”, but “Shader Graph support for the Built-In Render Pipeline is for compatibility purposes only”, and “it’s recommended to use Shader Graph with the Scriptable Render Pipelines” (Unity Technologies, Shader Graph 12.1 Manual: Getting started).
  • Unity 6’s Graph Target page states that the Built-In Render Pipeline “is deprecated and will be made obsolete in a future release”, and that a block which becomes inactive when you choose a target “is not compatible with that target” (Unity Technologies, Shader Graph 17.5 Manual: Graph Target).

Relevance

This source primarily informs:

It also supports:

Open questions raised

  • How much shader theory should the vault require before introducing Shader Graph?
  • When should students prefer Shader Graph over ShaderLab/HLSL in a Unity-first curriculum?