Search Unity

Question Help for Blending Camera in Shader Graph

Discussion in 'Shader Graph' started by MedalHellWay, Feb 20, 2022.

  1. MedalHellWay

    MedalHellWay

    Joined:
    Jul 28, 2013
    Posts:
    154
    Hello everybody. :)

    Seeing this tutorial for Unreal, I want try it in Unity to start understanding the Shader Graph a little more. The problem I can't solve (until now) is the distance blending between of the two textures. Basically, in the tutorial you have the soft texture change using a Lerp function with the Alpha channel (see link) I "managed" to recreate the effect using the length node but I don't understand how to insert a "fade offset". Basically the blending starts from under my feet onwards, while I would like to determine the amount of the point. In addition, I notice that the textures overlap even after blending and I would like to avoid this.

    Tips, suggestions, solutions?

    Thanks for the attention :)

    Here my Graph...
    test.png

    ...and Shader in viewport
    re.png
     
  2. MedalHellWay

    MedalHellWay

    Joined:
    Jul 28, 2013
    Posts:
    154
    Any kind of help ?? :(