Singularity/Library/PackageCache/com.unity.shadergraph@12.1.11/Documentation~/ShaderGraph-Samples.md
2024-05-06 11:45:45 -07:00

25 lines
1.4 KiB
Markdown

# 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.
![](images/PatternSamples_01.png)
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**.
![](images/PatternSamples_02.png)
## Available samples
The following samples are currently available for Shader Graph.
| Procedural Patterns |
|:--------------------|
|![](images/Patterns_Page.png) |
| This collection of Assets showcases various procedural techniques possible with Shader Graph. Use them directly in your Project, or edit them to create other procedural patterns. The patterns in this collection are: Bacteria, Brick, Dots, Grid, Herringbone, Hex Lattice, Houndstooth, Smooth Wave, Spiral, Stripes, Truchet, Whirl, Zig Zag. |