Textures Show up on the wrong Vertex paint colors.

Sorry if this is a simple question, I couldn’t find an answer for it. I’m setting up a vertex paintable material that will be using 3 colors. So I set up a bunch of lerps for the 3 textures that will be vertex painted, but they don’t appear properly based on the colors I defined. For example, I have a moss texture that uses a green vertex color in a lerp alpha…but when I go to paint the moss appears when I paint magenta. R:1 G:0 B:1 .

could you post an image of your material graph?

Yes, an image of your material set up would be nice.
Dont forget that any color that doesnt use alpha needs its alpha color to be zero, and alpha itself should be black + alpha 100.
(Yes vertex colors also uses alpha)

Thanks. I’m attaching a setup I quickly did just now that replicates what I did in my original material. (My original material is sort of all over the place lol.) I’m guessing maybe I might have set it up wrong. I’m not quite sure what you meant by the alpha. Do you mean when I paint? If so I went ahead and reduced the alpha to zero but I still got the same results. (Red vertex paint doesn’t give me the red color I lerped.) Let me know if that makes sense. Thanks for the help!

I went ahead and posted something below. Thank you!

Your setup looks rather odd.
This is a regular 3 way setup:

Though, you have a 4th color (white)
So a 4way would look like this:

You might want to look at this: Material Setup | Unreal Engine Documentation

You could also go a bit more alternative and instead of lerping colors, just multiply the texture with the vertex color it needs to be. (i.e. if you want texture 1 to be blue Vcolor, multiply it with that vertex color. (and combine the final outputs with an AND.

Example:

Ahhh ok I think I see what I did wrong here. First, I needed to do a 4 way, because I’m using 4 textures. I failed to see that because I didn’t think about the color White as a vertex color. My main problem was solved as soon as I plugged in the white channel(main channel?). Now when I paint red, I get red. :slight_smile: Heres my final setup:

You might be able to tell why the documented stuff confused me a bit since they weren’t trying to match colors lol. Technically I guess I can still have one more texture with that alpha node. Anyways, Thanks for the help Luos! I appreciate it. :slight_smile: