14
2018
QuickStart: Unity Visual Shader Editor
tl;dr, use beta10+, install Render-pipelines-lightweight with Package Manager, create/rendering/lightweight pipeline asset, assign it to graphics settings, create/shader/unlit graph, double click to edit in visual editor!
Install & Use Visual Shader Editor
– Download and install Unity Beta : https://unity3d.com/unity/beta-download
– Create New Empty Project
– Window / Package Manager, Go to All Packages tab, Select Render-pipelines-lightweigth and click Install (ShaderGraph is included in this package)

– Right click on project window, Create/Rendering/LightWeight Pipeline Asset

– Edit/Project Settings/Graphics, Assign your Scriptable Rendering Pipeline asset here (otherwise your shader graph shaders are all pink)

– Create New Shader Graph: Right click on project window, select Create/Shader/Unlit Graph

– Select the created shader, Double Click it to open in Shader Editor, or click “Open in shader editor” in inspector

– Now you can start building your shader!
– Click + in the blackboard (left side) to add properties to the material (then drag & drop those properties into node canvas to use them)
– Right click over node canvas to add shader nodes
– Click save asset to save changes to shader, then create material and assign your shader to it, and assign that material to some 3D object in scene

To use texture:
– Add Property > Texture
– Drag & Drop the property into node canvas
– Right click on node canvas, Create Node/Texture/Sample Texture 2D
– Connect texture property into texture sampler
– Connect texture sampler output into master color

Resources
– Forum feedback thread: https://forum.unity.com/threads/feedback-wanted-shader-graph.511960/
– Github & wiki : https://github.com/Unity-Technologies/ShaderGraph
– Examples: https://github.com/keijiro/ShaderGraphExamples , https://github.com/RubenCUR/ShaderGraph-Examples , https://github.com/UnityTechnologies/ShaderGraph_ExampleLibrary
– Tutorial : “Intro To Shader Graph” https://www.youtube.com/watch?v=fFTBgHOP2JA
Related Posts
1 Comment + Add Comment
Leave a comment
Recent posts
- Favorites in PackageManager
- LudumDare59 : Signal
- Unity Editor: Tree Generator
- Leaf/Foliage Generator Tools (Runs in Browser)
- Testing Unity AI Beta
- Ways to Support UnityCoder Development
- Using UI Slider to Create 5-Star Rating Element
- Game Music Library For Unity (editor plugin)
- Fontastic : Easily Test Fonts in Unity Editor!
- GeoTiff Importer & Terrain Generator for Unity
- Create Baked DropShadow for UI images
- .JP2 Ortho Image Converter to PNG/JPG/TIFF
Recent Comments
- on Mesh Exploder (sources)
- on Sprite Sheet Flip Book Shader
- on Sprite Sheet Flip Book Shader
- on [Asset Store] PolygonCollider2D Optimizer
- on Trajectory Test Scene 2.0
- on Vector3 maths for dummies!
- on UnityHub 3.6.0: Remove Version Control & Cloud Dashboard columns
- on Using RenderDoc with Unity (graphics debugger)
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by












How to set up Unity Shader Graph – Creating a Basic Shader