Search Unity

Is it possible to get this type of vertex color shading using URP shader graph?

Discussion in 'Shaders' started by mrCharli3, Jan 11, 2020.

  1. mrCharli3

    mrCharli3

    Joined:
    Mar 22, 2017
    Posts:
    976
    StopLookAndGo and TextusGames like this.
  2. Invertex

    Invertex

    Joined:
    Nov 7, 2013
    Posts:
    1,550
    ShaderGraph can do that too, there is a Vertex Color node which you can get the color from and plug it into whatever you want, but ultimately into the Master Node's "Albedo" channel. You'll probably want to make sure Metallic and Smoothness are black/0 on the master node as well so it looks flat colored. Though this looks more like a shadowed cellshader on the characters.
     
    StopLookAndGo likes this.
  3. mrCharli3

    mrCharli3

    Joined:
    Mar 22, 2017
    Posts:
    976
    Thanks!
    Is it possible to use vertex color and still UV-amp models in blender and use a pallette as texture? Or do I have to color all sides individually using vertex color
     
  4. Invertex

    Invertex

    Joined:
    Nov 7, 2013
    Posts:
    1,550
    Vertex color is just another channel stored on the mesh data. You still have UV channels to use for sampling textures as well, so you can combine your vertex colors and sampled textures however you like.