# Shader Graph in Unity for Beginners | raywenderlich.com

**URL:** <https://forums.kodeco.com/t/shader-graph-in-unity-for-beginners-raywenderlich-com/90401>\
**Category:** 🎓 Courses & Articles\
**Created:** [December 5, 2019, 12:11am UTC](https://forums.kodeco.com/t/shader-graph-in-unity-for-beginners-raywenderlich-com/90401 "2019-12-05T00:11:00Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![wilmer](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/wilmer/32/100789_2.png) [@wilmer](https://forums.kodeco.com/u/wilmer)\
**Post date:** [December 5, 2019, 12:11am UTC](https://forums.kodeco.com/t/shader-graph-in-unity-for-beginners-raywenderlich-com/90401/1 "2019-12-05T00:11:00Z")

</div>

A shader is a small program containing instructions for the GPU. They describe how to calculate the onscreen color of a particular material. Though Unity provides a Standard Shader, sometimes you may need to make an effect beyond what the out-of-the-box shader can do. Historically, this has required a special shading language, such as Cg […]

* * *
This is a companion discussion topic for the original entry at [https://www.raywenderlich.com/3744978-shader-graph-in-unity-for-beginners](https://www.raywenderlich.com/3744978-shader-graph-in-unity-for-beginners)

---

<div class="post-metadata">

**Author:** ![et3rnald](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/et3rnald/32/81494_2.png) [@et3rnald](https://forums.kodeco.com/u/et3rnald)\
**Post date:** [December 5, 2019, 12:18am UTC](https://forums.kodeco.com/t/shader-graph-in-unity-for-beginners-raywenderlich-com/90401/2 "2019-12-05T00:18:03Z")

</div>

Excellent tutorial–Wilmer consistently puts out highest quality material (I found Wilmer on Udemy and he is one of the best instructors I’ve encountered period–super organized, well planned, he does everything possible to prevent the user from hitting roadblocks on the learner’s journey). I’m not affiliated with him in any way, I just appreciate him so much! Great Shader Graph intro–I finally get a nice grasp of this cool Unity feature.

---

<div class="post-metadata">

**Author:** ![wilmer](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/wilmer/32/100789_2.png) [@wilmer](https://forums.kodeco.com/u/wilmer)\
**Post date:** [December 5, 2019, 6:40am UTC](https://forums.kodeco.com/t/shader-graph-in-unity-for-beginners-raywenderlich-com/90401/3 "2019-12-05T06:40:44Z")

</div>

Thanks for the vote of confidence! Glad you enjoyed the tutorial!

---

<div class="post-metadata">

**Author:** ![bling](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/bling/32/81494_2.png) [@bling](https://forums.kodeco.com/u/bling)\
**Post date:** [December 11, 2019, 3:01am UTC](https://forums.kodeco.com/t/shader-graph-in-unity-for-beginners-raywenderlich-com/90401/4 "2019-12-11T03:01:44Z")

</div>

Why the project crashed when I open it with Unity 2019.2.14f1 on Windows:disappointed\_relieved:

---

<div class="post-metadata">

**Author:** ![wilmer](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/wilmer/32/100789_2.png) [@wilmer](https://forums.kodeco.com/u/wilmer)\
**Post date:** [December 11, 2019, 7:23am UTC](https://forums.kodeco.com/t/shader-graph-in-unity-for-beginners-raywenderlich-com/90401/5 "2019-12-11T07:23:55Z")

</div>

Hi bling, sorry the project crashed for you.

However, I downloaded the ZIP from the RayWenderlich site and was able to open both the IntroToShaderGraph\_Starter and IntroToShaderGraph\_Final projects in both Unity 2019.2.10f and 2019.2.15f using Windows 10.

A number of factors can cause a crash, so I suggest first you try to reboot, download the ZIP again and try to re-open one of the projects. Make sure you download to a disk with sufficient disk space as Unity needs to generate a number of cache files when the projects open. -Wilmer

---

<div class="post-metadata">

**Author:** ![fysty](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/fysty/32/81494_2.png) [@fysty](https://forums.kodeco.com/u/fysty)\
**Post date:** [December 19, 2019, 3:31am UTC](https://forums.kodeco.com/t/shader-graph-in-unity-for-beginners-raywenderlich-com/90401/6 "2019-12-19T03:31:13Z")

</div>

Hi can you make a tutorial like this for 2D shader graph?

---

<div class="post-metadata">

**Author:** ![wilmer](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/wilmer/32/100789_2.png) [@wilmer](https://forums.kodeco.com/u/wilmer)\
**Post date:** [December 19, 2019, 6:48am UTC](https://forums.kodeco.com/t/shader-graph-in-unity-for-beginners-raywenderlich-com/90401/7 "2019-12-19T06:48:41Z")

</div>

The general workflow is the same as the 3d. However, the graphs themselves use slightly different nodes.

When you create the initial Shader Graph, instead of choosing **PBR Graph** , choose **2D Renderer** \> **Sprite Lit Graph.**

You’ll find many of the nodes like **Sample Texture 2D** behave the same.

---

<div class="post-metadata">

**Author:** ![timchroma](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/timchroma/32/81494_2.png) [@timchroma](https://forums.kodeco.com/u/timchroma)\
**Post date:** [January 20, 2020, 2:53pm UTC](https://forums.kodeco.com/t/shader-graph-in-unity-for-beginners-raywenderlich-com/90401/8 "2020-01-20T14:53:15Z")

</div>

Great intro - thanks! One minor thing - I couldn’t get the Bloom/post processing step to work with 2019.3.0f3. Did I miss something?

---

<div class="post-metadata">

**Author:** ![wilmer](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/wilmer/32/100789_2.png) [@wilmer](https://forums.kodeco.com/u/wilmer)\
**Post date:** [January 20, 2020, 11:17pm UTC](https://forums.kodeco.com/t/shader-graph-in-unity-for-beginners-raywenderlich-com/90401/9 "2020-01-20T23:17:10Z")

</div>

Hi @timchroma , Unity 2019.3 introduced a revised PostProcessing stack (internally I think it is version 3).

The **LightweightRenderPipeline** was changed to the **UniversalRenderPipeline** among other things. The **PostProcessing** stack was reorganized using different components.

To get the **PostProcessing** stack in **2019.3** and above:

- Note what settings are currently being used for **Postprocessing** (take a screenshot or write them down) in Unity 2019.2.

- In the **Window ► PackageManager** , remove **LightweightRenderPipeline** and **PostProcessing** packages.

- Add the **Universal RP** package instead.

- In the scene, remove any broken components previously from the **PostProcessingVolume** and **PostProcessLayer** (just remove the latter from the camera and delete the **PostProcessing** object from the Hieararchy)

- For the **MainCamera** , switch the Layer back to Default. Check **PostProcessing** under the **Rendering** section in the Inspector. Choose an anti-aliasing option.

- Add a “ **Volume** ” component (NOT PostProcessVolume). Use **Global** mode.

- Create and assign a **Volume Profile**. This component is different from Unity 2019.2 and prior.

- In the **Volume Profile** , add **Bloom** , **Tonemapping** , **Color Adjustments** , and **Vignetting**. Adjust the settings to match what you had in Unity 2019.2. What used to be **ColorGrading** is now separated into several different Overrides.

I will need to update this tutorial at some point. But this should work in the meantime.

Wilmer

---

<div class="post-metadata">

**Author:** ![timchroma](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/timchroma/32/81494_2.png) [@timchroma](https://forums.kodeco.com/u/timchroma)\
**Post date:** [January 21, 2020, 9:12am UTC](https://forums.kodeco.com/t/shader-graph-in-unity-for-beginners-raywenderlich-com/90401/10 "2020-01-21T09:12:10Z")

</div>

Thanks for taking the time for this response 🙂

---

<div class="post-metadata">

**Author:** ![waltran](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/waltran/32/103537_2.png) [@waltran](https://forums.kodeco.com/u/waltran)\
**Post date:** [January 21, 2020, 11:58am UTC](https://forums.kodeco.com/t/shader-graph-in-unity-for-beginners-raywenderlich-com/90401/11 "2020-01-21T11:58:48Z")

</div>

my tangrams doesn’t glow like they do when i convert color to a property. it reverts color rgb values to 4 - 191 - 4 and intensity to 3.9169… even though i try to force it into rgb 5-255-5 and 3.5 for instensity.  
property is exposed, default is 5-255-5, 3.5 mode HDR precision inherit.  
unity version 2019.2.18f1  
edit. this is really weird, if i convert property back to inline-node it works as expected, when converted into property again doesn’t work

---

<div class="post-metadata">

**Author:** ![wilmer](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/wilmer/32/100789_2.png) [@wilmer](https://forums.kodeco.com/u/wilmer)\
**Post date:** [January 21, 2020, 4:23pm UTC](https://forums.kodeco.com/t/shader-graph-in-unity-for-beginners-raywenderlich-com/90401/12 "2020-01-21T16:23:33Z")

</div>

@waltran Do you have a color overriding the default? Check the Glow\_Mat material. Whatever is the Inspector will override the default value you have in the Blackboard. Otherwise, I am not sure why Converting to a Property should have that effect. It should be just an interface to set numbers via the Inspector.

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [July 8, 2020, 7:03am UTC](https://forums.kodeco.com/t/shader-graph-in-unity-for-beginners-raywenderlich-com/90401/13 "2020-07-08T07:03:49Z")

</div>

This tutorial is more than six months old so questions are no longer supported at the moment for it. Thank you!

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [July 8, 2020, 7:03am UTC](https://forums.kodeco.com/t/shader-graph-in-unity-for-beginners-raywenderlich-com/90401/14 "2020-07-08T07:03:51Z")

</div>

Closed on July 8, 2020, 7:03am UTC


