Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Help Wanted PBR shader doesn't show up in the shader graph

Discussion in 'Shader Graph' started by Watashii, Dec 31, 2020.

  1. Watashii

    Watashii

    Joined:
    May 3, 2019
    Posts:
    9
    For whatever reason, no matter what render pipeline i use but the shader graph doesn't seem to have the PBR shader option anymore. Any help is appreciated.

    Unity 2020.2.1f1 Personal

    Edit: None of the example projects have the option either
     
  2. doublehitgames2

    doublehitgames2

    Joined:
    Mar 5, 2016
    Posts:
    58
    Hi. I think that in URP everything is integrated in the LIT shder. Now the available options that you will use on your material vary depending on the material configuration.
    upload_2021-1-2_15-7-59.png

    upload_2021-1-2_15-8-22.png

    I may be mistaken, I started using the shader graph only on unity 2020.2 in URP and I noticed that all the tutorials I watch are using the PBR type. So I ended up discovering that I can access the same material settings with LIT, just under a few different names.
     
    dblaauw, The_Swiss_Guy and Watashii like this.
  3. Watashii

    Watashii

    Joined:
    May 3, 2019
    Posts:
    9
    Thanks, really appreciate it
     
    dblaauw likes this.
  4. j3mesb

    j3mesb

    Joined:
    Nov 14, 2020
    Posts:
    2
    What exactly are those settings?
     
  5. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    10,081
    Unity replaced the the Master Node of the older SRPs with the Master Stack, which are separate "Vertex" and "Fragment" nodes with configurable inputs. The lighting model being used (PBR or otherwise) is set by the Graph Inspector > Graph Settings > Material. "PBR" has been renamed "Lit" to match the URP & HDRP's built in shader naming schemes.

    Unity released a video on it here


    But yeah, it's confusing AF as it totally invalidates 2+ years of tutorials, including their own.
     
  6. kn0wmad1c

    kn0wmad1c

    Joined:
    Sep 12, 2018
    Posts:
    2
    I set this up, but the PBR Master had an albedo node which now seems to be missing from the new Lit Shader Graph.
     
  7. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    10,081
    They renamed “Albedo”, it’s now “Base Color” for some reason.
     
    tsutaajya likes this.
  8. frictionmitch

    frictionmitch

    Joined:
    Mar 4, 2017
    Posts:
    3
    It's also missing "Depth"
     
  9. ubailey

    ubailey

    Joined:
    Nov 25, 2014
    Posts:
    24
    There is no alpha or alpha clip threshold
     
  10. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    10,081
    URP has never had a depth input for the master node, only the HDRP.

    Alpha and alpha clip threshold inputs are added once you add those input lines or enabled those features on the master stack. Same with Depth which you similarly have to enable.
     
unityunity