Creating shaders with Shader Graph
Now that we know how shaders work and the existing shaders in URP, we have a basic notion of when it is necessary to create a custom shader and when it is not necessary. In case you really need to create one, this section will cover the basics of effects creation with Shader Graph, a tool to create effects using a visual node-based editor. This is an easy tool to use when you are not used to coding.
In this section, we will discuss the following concepts of Shader Graph:
- Creating our first Shader Graph
- Using textures
- Combining textures
- Applying transparency
- Creating vertex effects
Let’s start by seeing how we can create and use a Shader Graph.
Creating our first Shader Graph
Shader Graph is a tool that allows us to create custom effects using a node-based system. An effect in Shader Graph can look like in the following screenshot:
Figure 10.15: Shader Graph with nodes to create...