Shader Graph lets you easily author shaders by building them visually and see the results in real time. You create and connect nodes in a network graph instead of having to write code.
Build your shaders visually
Authoring shaders in Unity has traditionally been the realm of people with some programming ability. Shader Graph opens up the field for artists and other team members by making it easy to create shaders. Simply connect nodes in a graph network and you can see your changes instantly.
You can do things like:
- Procedurally alter your surface appearance
- Warp and animate UVs
- Modify the look of your objects using familiar image adjustment operations
- Change your object’s surface based on information about it, such as its world location, normals, distance from camera, etc.
- Quickly tweak a shader’s visuals in the context of a scene using the Material Inspector.
- Share node networks between multiple graphs and users by creating subgraphs
See real-time results
The graph framework shows you the effects of your actions as you work. There’s no building period where you have to wait for the changes to bake. Even new users can simply start experimenting.
Customize according to your vision
Customization and visual tools enable you to create artistic or other special effects, like heat vision, snow, and cloaking devices.
The Shader Graph system:
- Is designed to work with the Scriptable Render Pipeline feature. Master nodes that work with Lightweight Render Pipeline (LWRP) and High-Definition Render Pipeline (HDRP) are included out of the box.
- Can be extended to work with any custom render pipeline.
- Lets you define custom node behaviour directly in your Shader Graph or via HLSL files.
Create advanced design effects
Introduction to Shader Graph: Build your shaders with a visual editor
Unity 2018.1 brought new levels of control and flexibility, and introduced Shader Graph. Whether you’re a beginner or a pro, it helps you create a range of shaders – flowing lava, gooey slime, beautiful lakes, flashing LEDs, and more.
Creating an interactive vertex effect using Shader Graph
We created an example interactive vertex displacement effect with Shader Graph and the LWRP to help you use these features to design effects. This post will walk you through our process.
Unity 2018.3 Shader Graph update: Lit Master Node
With the release of 2018.3, Shader Graph introduced a new master node for the HDRP. This new master node, called Lit Master, makes many of the advanced shading features found in HDRP accessible in Shader Graph.
Art that moves: Creating animated materials with Shader Graph
In Unity 2018.2 we added the “Vertex Position” input to Shader Graph, allowing you to adjust and animate your meshes. Learn how you can create your own vertex animation shaders and see some common examples, such as wind and water shaders.
Tips and tutorials on authoring shaders
Best Practices for Shader Graph
This talk covers what happens under the hood, shares tips to avoid common pitfalls, and highlights the possibilities of Shader Graph.
Intro to Shader Graph
These eight Shader Graph tutorials show you how easy it is to create compelling visual effects such as glowing and dissolving. You don’t need to know how to write code to create shaders.