Search Unity

Red channel adding results in very transparent effect

Discussion in 'Shaders' started by HoloLensPadawan, Jun 16, 2021.

  1. HoloLensPadawan

    HoloLensPadawan

    Joined:
    Sep 4, 2018
    Posts:
    1
    Hello, I want to add blood texture on base color but neither add,combine,multiply or lerp nodes give me satifying results. As you can see in picture the Combine results are very transparent. I want to achive effect like in Lerp node(I posted it for reference its not connected to anything). I would really appriciate a step by step instruction how I can make it correctly
     

    Attached Files:

  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,338
    Add is literally adding the values together. i.e.: 0.2 + 0.5 = 0.7
    Combine is for concatenating vector components, not for blending textures together.
    Lerp is the same as traditional alpha blending, and is what you would see if you layered these in Photoshop with the blood on a layer with transparency and the layer mode set to "Normal".

    If Lerp is what you want, use Lerp. Though you probably want a texture that has transparency (Alpha) and connect only the Alpha output of the texture to the T of the Lerp. Otherwise you could try the Blend node.