Firstborn/Library/PackageCache/com.unity.shadergraph@12.1.8/Documentation~/Main-Preview.md

12 lines
793 B
Markdown
Raw Normal View History

2023-03-28 13:24:16 -04:00
# Main Preview
## Description
The **Main Preview** displays a representation of the shader on the active **Render Pipeline**. It updates in real-time and automatically updates to display any changes you make in the Shader Graph. The title bar of the **Main Preview** displays the name of the current shader.
The **Main Preview** can be moved to anywhere in the [Shader Graph Window](Shader-Graph-Window.md) and will automatically move with the nearest corner of that window.
### Preview Mesh
You can rotate the preview mesh by holding left mouse button and dragging on the **Main Preview** and you can scale it by using the scroll wheel. The preview mesh can be changed by right clicking on the **Main Preview**. Here you can select from any primitive mesh types or select a custom mesh.