Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Real Coat (Additive mix specular)

Discussion in 'Shaders' started by SammmZ, Sep 7, 2019.

  1. SammmZ

    SammmZ

    Joined:
    Aug 13, 2014
    Posts:
    173
    I'm working on a skin shader with Shader Graph and HDRP and looks like I don't understand some basic concepts... Let's say skin should use two specular reflections: basic one with smoothness = 0.45 and second one with smoothness = 0.65. They should be mixed additively. Is it possible to achieve with Shader Graph? There is some option called "coat" on a lit shader but it's just replace basic smoothness with completely glossy reflection. How can I additively mix two reflections?
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,329
    You're talking about dual lobe specular. I believe this is something the StackLit Master node supports as an option.
     
  3. SammmZ

    SammmZ

    Joined:
    Aug 13, 2014
    Posts:
    173
    Thanks! I'll have a look!