Shader Graph 0.1.17 Release Notes

A new version of Shader Graph has just been released! What follows is a list of changes and fixes in this release (compared to the 0.1.9 that was released with the 18.1 beta announcement). Skip to the bottom to find out how to get it!

Blackboard







Introducing the Blackboard. This is the new Property window for the Shader Graph. Beyond the notable visual improvement new features include: Introducing the Blackboard. This is the new Property window for the Shader Graph. Beyond the notable visual improvement new features include:

Reorderable Properties (updates exported shader property order)

Collapsable controls

Drag and drop Properties into the graph to create Property nodes



Improved window layout

Separated Blackboard and Preview panels

Both new panels are resizable

Both new panels dock to the nearest window corner when window is resized

Relocated save button



Slots and properties in Node Search



When creating a new Node by dragging out an edge from an existing Node the Create Node menu will now display options for all compatible slots on compatible nodes as well as listing all individual compatible Properties.

New Property and value types

HDR Color (selectable via Mode dropdown on Color node and property)

Slider (selectable via Mode on a Vector1 property or via its own node)

Integer (selectable via Mode on a Vector1 property or via its own node)

Boolean (selectable via Boolean property and node)



Logic Operators

New logic operators allow you to create branches in your graph based on comparisons, value checks and arbitrary booleans. New nodes include:

Comparison

Branch

And

Or

Nand

Not

Is NaN

Is Infinite

All Any



Alpha Clip/Discard





Alpha clip/discard can now be used on any blend mode.



Unlit Master blend parity







All blend operations available on the PBR Master Node are now also available on the Unlit Master Node, including Alpha Clip/Discard.



All blend operations available on the PBR Master Node are now also available on the Unlit Master Node, including Alpha Clip/Discard.

New Nodes

Various new nodes have been added, including:

Metal Reflectance (valid PBR metal color values)

Dielectric Specular (valid PBR specular values for dielectric materials)

Triplanar (triplanar texture sampling)

Dither (screen space dithering)



Bug fixes and stability improvements



And of course we have implemented numerous bug fixes and stability improvements. Some highlights include:

Major subgraph refactor

New Node menu from Spacebar hotkey

Fixed hanging edges caused by numerous graph invalidations

Fixed failed shader compilation from infinity and E values

Fixed incorrect UV channel for Lightweight lightmap coordinates

Fixed failed shader compilation when switching Master node

Fixed instancing support

Fixed sticking selection from inline UV changes

Upgraded Lightweight Render Pipeline version to 0.1.25

And much more…



How do I get it?



So how can you get your hands on the latest version? A few ways. First make sure you are using Unity 2018.1 beta 4 as this is required by latest version of Shader Graph. Now, either:

Manually update your package manifest for your project to this (the package manifest can be found in the UnityPackageManager folder inside your project):

Code (csharp): { "registry" : "https://staging-packages.unity.com" , "dependencies" : { "com.unity.render-pipelines.lightweight" : "0.1.28" , "com.unity.shadergraph" : "0.1.17" } }

Go into Window > Package Manager. Then update the Lightweight package, followed by the Shader Graph package.

Launch Unity Hub then create a new project using the Lightweight 3d template. Then follow either of the previous steps



Please let us know what you think!