The Shader Graph feature in Unity 2020 is a powerful and exciting feature that opens up shader creation and editing to everyone, without any need for complex mathematics or coding skills. In this recipe, we'll create a simple Shader Graph to generate a checkerboard pattern, create a material that uses that shader, and then apply it to a 3D Cube. The end result will be as follows:
Figure 12.7 – Example of a checkerboard pattern being applied to a 3D Cube