2.7 KiB
Shader Graph samples
Description
The Shader Graph package offers sample Assets, which you can download through Package Manager. When you import these samples, Unity places the files in your Project's Asset folder. The files contain examples that demonstrate how to use Shader Graph features.
Add samples
To add samples to your Project, go to Window > Package Manager. Locate Shader Graph in the list of available packages, and select it. Under the package description, there is list of available samples. Click the Import into Project button next to the sample you wish to add.
Unity places imported samples in your Project's Asset folder under Assets > Samples > Shader Graph > [version number] > [sample name]. The example below shows the samples for Procedural Patterns.
Available samples
The following samples are currently available for Shader Graph.
| Feature Examples |
|---|
![]() |
| This is a collection of over 30 Shader Graph files. Each file demonstrates a specific shader technique such as angle blending, triplanar projection, parallax mapping, and custom lighting. While you won’t use these shaders directly in your project, you can use them to quickly learn and understand the various techniques, and recreate them into your own work. Each file contains notes that describe what the shader is doing, and most of the shaders are set up with the core functionality contained in a subgraph that’s easy to copy and paste directly into your own shader. The sample also has extensive documentation describing each of the samples to help you learn. |




