Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Resolved Can I apply a different Metallic value to a specific part of a mesh?

Discussion in 'Shader Graph' started by chealin, Sep 7, 2023.

  1. chealin

    chealin

    Joined:
    Sep 10, 2017
    Posts:
    72
    Hello, I am using URP!

    Is it possible to apply a different Metallic value to a specific part of a mesh using a single mask texture?
    upload_2023-9-7_13-40-16.png

    [My attempt :..fail,,]
    • At first, I tried with Shader Graph, but it failed as the average value was applied to the mesh.
    • upload_2023-9-7_13-40-27.png
     
  2. chealin

    chealin

    Joined:
    Sep 10, 2017
    Posts:
    72

    I modified the shader graph as shown in the image below.
    The values for Metallic and Smoothness were handled with textures.

    upload_2023-9-7_17-45-29.png