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

Question How to add alpha texture(black/white) to albedo texture for transparacy?

Discussion in 'Editor & General Support' started by Acer85, Mar 6, 2021.

  1. Acer85

    Acer85

    Joined:
    Mar 10, 2019
    Posts:
    28
    I am trying to make a leaf texture that is transparant.
    I have an albedo texture that have leafs on it and the rest is just of green color and an opacity texture that is an alpha (black/white).
    The textures are from megacans library and I use the standard shader.

    On the albedo texture it says on the setting Alpha Source - Input Texture Alpha! , but where?! where do I set this texture? Why not just have have in input texture slot here for the alpha cut out?

    I have set the Rendering Mode to Cutout.
    Do I set the opacity(black/white alpha) texture on the matalic slot? and set source to Metallic Alpha?.
     
  2. mfatihbarut

    mfatihbarut

    Joined:
    Apr 11, 2018
    Posts:
    1,058
  3. Acer85

    Acer85

    Joined:
    Mar 10, 2019
    Posts:
    28
    Thank you for the answer but I have 100 of textures that I have to do this so it will take a long time. There must be an easier way?
     
  4. mfatihbarut

    mfatihbarut

    Joined:
    Apr 11, 2018
    Posts:
    1,058
    Photoshop also has "actions" to automate the process
     
    Acer85 likes this.