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 opacity map in HDRP shader graph

Discussion in 'Shader Graph' started by Thibault_potier, Nov 10, 2021.

  1. Thibault_potier

    Thibault_potier

    Joined:
    May 4, 2021
    Posts:
    46
    Hi

    I'm working with the HDRP/AutodeskInteractive shader : I am modifying this shader to fit my needs.

    Right now I'm trying to use an Opacity Map to deal with transparency. Here is what I added in the shader so far :

    upload_2021-11-10_8-37-41.png

    upload_2021-11-10_8-38-35.png upload_2021-11-10_8-40-17.png upload_2021-11-10_8-41-5.png upload_2021-11-10_8-41-23.png

    But it doesn't work :( enabling / disabling the boolean doesn't trigger anything and no matter what I use as value for the color or the texture, it never goes transparent. Am I misanderstanding the way it should works ?

    Thanks for your time and help <3
     
  2. Thibault_potier

    Thibault_potier

    Joined:
    May 4, 2021
    Posts:
    46
    Found it !

    I just had to set the shader surface type to : "Transparent"

    upload_2021-11-10_9-7-54.png