Search Unity

Is there a native way to create a texture mask using HDRP?

Discussion in 'High Definition Render Pipeline' started by AA_Frost, Nov 1, 2019.

  1. AA_Frost

    AA_Frost

    Joined:
    Jul 5, 2019
    Posts:
    2
    I'm trying to find a way out of the box with Unity2019.2.4f1 HDRP where I can simply create a material, such as bathroom tiles and create variants that ONLY color tint the non-grout parts of said material. I would assuming a masked black/white texture would be used but using the HDRP Lit shaders I haven't had success. If anyone can kindly point me to on I'd appreciate it!
     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    Take a look at the shader graph.
    You can easly create a shader that can have a coloring of whatever part you need defined by a mask (can be packed in the alpha channel if your tiles are not transparent)
     
  3. AA_Frost

    AA_Frost

    Joined:
    Jul 5, 2019
    Posts:
    2
    Thank you sir! I was hoping there was already something stock as it seems like something fairly baseline simple but I can take a look at Shader Graph solutions!