Search Unity

Question how to color plus texture map nodes together?

Discussion in 'Shader Graph' started by zeropointblack, Apr 3, 2021.

  1. zeropointblack

    zeropointblack

    Joined:
    Jun 8, 2020
    Posts:
    197
    in shader graph, how to make color box to blend color with color texture map as in standard hdrp lit shader?

    currently adding the color with the texture map together looks horrible. not the same at all.

    I assume its multiply which ive used before, but not sure if its exactly the same. are they doing anything special or just a simple multiply? anyone know?
     
    Last edited: Apr 3, 2021
  2. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,553
    I am not sure what color blending mode is used in HDRP shaders, but I imagine that the texture and the base color are combined with a multiply operation. Perhaps someone who knows better can fill in.

    However, if that does not look good for your purposes, you could implement some of the Photoshop blending modes. Those can be easily found on the web, so just try what looks good for your specific use-case and then implement the blending mode in Shader Graph.