I’m following a Unity tutorial on intro to Shader Graph. The tutorial is on Unity 2019 but I’m using Unity 2020.
Has PBR Graph been removed from Unity 2020? If so, can anyone point to the rationale?
The tutorial shows the creation of a PBR Graph, but I don’t see that option in Unity 2020. Any help would be appreciated.
1 Like
bgolus
January 25, 2021, 8:42pm
2
The Lit graph is the same thing as the PBR graph. Likely changed to match the naming of the included shaders.
5 Likes
Yeah you need to click ‘new blank graph’, then set it to lit in the graph settings window
4 Likes
how exactly do you 'set it to lit in “graph settings window” '? im a beginner, following the brackeys water shader tutorial. i couldn’t find pbr grapgh option, so i am here, pls reply asap, it’ll help me tons!
3 Likes
Arjun Singh:
how exactly do you 'set it to lit in “graph settings window” '? im a beginner, following the brackeys water shader tutorial. i couldn’t find pbr grapgh option, so i am here, pls reply asap, it’ll help me tons!
First you’ll need to add ‘Universal’ (or hdrp) as your active target, then you can set the material to ‘lit’.
3 Likes
You have saved my day, mate! Thanks a lot!
Thanks sire, i was having panic attack coz of this problem
melsof
December 5, 2021, 9:24pm
9
Hi thanks for this ! I set it to universal and I add a texture, but, for some reason the material in the scene is turning pink - where in the main preview of the shader graph it looks pretty good
It turns pink as the render pipeline you are using doesn’t match the render pipeline of the exernal visual.
From the Unity Learn pages fixed the pink issue. Link to page below.
Create an LWRP Asset (or URP Asset if using Unity 2019.3 or higher) by clicking Assets > Create > Rendering > Lightweight (or Universal) Render Pipeline > Pipeline Asset.
Go to Edit > Project Settings and select Graphics (Figure 01).
Add it to the Render Pipeline Asset parameter
Challenge: Setting up Shader Graph - Unity Learn
2 Likes
PBR Shader is no longer available, instead use this:
Create > Shader Graph > URP > Lit Shader Graph
1 Like