Search Unity

Shader graph output smoothness not working

Discussion in 'Shaders' started by firefly9000, Mar 26, 2019.

  1. firefly9000

    firefly9000

    Joined:
    Dec 7, 2016
    Posts:
    13
    So we have a PBR master node into which we plug in just normals and smoothness dialed down to 0. Therefore we expect a rough object, but the result is exactly inverse. The object is still smooth.

    The issues, as best we can tell, has to do with the normal map piped in through a SampleTexture2D node (?) when the Type is switched to "normal", which is what the texture is.

    If we switch the Type to "Default" the smooth smoothness goes away but but so do a lot of the normal details.

    Check out the attached images:

    First is with Type set as Default. Not shiny but not many details either.
    Second is with Type set as Normal. With more details but now smooth, no matter how low the Smoothness is.

    Checked out the docs for the SampleTexture2D node but there really isn't anymore info there pertinent to this issues. https://docs.unity3d.com/Packages/c...0/manual/Sample-Texture-2D-Node.html#controls

    What is it that we're missing?

    Thank you
    unity_01.PNG unity_02.PNG
     
    wwwse likes this.