Search Unity

Question Problem : Vertex color & Shader graph

Discussion in 'Shader Graph' started by VironFlo, May 6, 2021.

  1. VironFlo

    VironFlo

    Joined:
    Sep 9, 2015
    Posts:
    10
    Hello all,

    I cant figure why my shader doenst render corretly.

    I added vertex color on my mesh with maya like on this picture :

    visusboss.PNG

    I want to use vertex color to make different emission color effect but it doenst render corretly.
    Here is the Vertex color put in albedo :
    debugvertex.PNG
    Here is the problem when I try my mesh :
    resultshader.PNG
    Why whole paws are red?..
    Here is my shader :
    shadervisuel.PNG
     
  2. VironFlo

    VironFlo

    Joined:
    Sep 9, 2015
    Posts:
    10
    Do you have any suggestion?
    I checked on maya, I dont think the problem is coming from this step but Alpha of Vertex color look different for the body and paws.(black paws & body white on unity).

    I tried :
    • Modify value of the first lerp(Vector4(0,0,0,0).
    • Display alpha on Maya( no variance on mesh).
    Somes details :
    • Build for Mobile
    • Made texture on substance( but mesh is coming from maya).
     
  3. Chronix8468

    Chronix8468

    Joined:
    Jan 13, 2019
    Posts:
    10
    What value did you put in your vector 4 ?