Home

Awesome

Shader Graph to PNG

GraphToPNG

Tested with Unity 2020.3.0f1, Shader Graph v10.3.2

Screenshots a Shader Graph in multiple sections, stitches them together and saves the result as a PNG.

If there is any errors (in any Unity/SG version) or problems with the final image, feel free to open an issue and I'll try fixing it ~

Setup:

Usage:

  1. Open up a Shader Graph. Close the Main Preview, Blackboard and Graph Inspector windows
  2. Zoom and move the graph, and size the window such that the graph you want to capture is visible
    • Tip : Can use the "A" keybinding to auto-focus the whole graph
  3. Right-click anywhere in the graph and select "Graph To PNG" from the dropdown menu
    • (If you don't see this listed in the menu, try restarting Shader Graph)
    • Processing is done through a series of screenshots, so make sure nothing is covering the shader graph window
  4. When done, the image will be saved in Assets/ShaderGraphScreenshots, using the graph name, as printed in the Console window
    • Note : Numbers may be appended to the filename to prevent overriding previous screenshots of the same graph

Known Issues :

Authors :