Search Unity

Question Adding smoothness/roughness 2D texture in ShaderGraph

Discussion in 'Shader Graph' started by saifshk17, Sep 14, 2020.

  1. saifshk17

    saifshk17

    Joined:
    Dec 4, 2016
    Posts:
    488
    Is there a way to add a smoothness 2D texture and pass that as property to PBR shader node to control smoothness/roughness? In the standard shader we had options for roughness and smoothness with texture property. However it is very confusing how to achieve this in shader graph.
     
  2. vladke95

    vladke95

    Joined:
    Jun 16, 2019
    Posts:
    2
    Try using Sample Texture 2D node and sampling from it with UV input and passing RGBA or RGB output to smoothness/roughness.