I set vertex color in max and export as .FBX. I am now having trouble getting vertex color to show up in Unity. What am i doing wrong?
Krooked
I set vertex color in max and export as .FBX. I am now having trouble getting vertex color to show up in Unity. What am i doing wrong?
Krooked
You need a shader which supports vertex colors, which most of them don’t (primarily the particle shaders do), so you may need a custom shader. I think there might be a few on the wiki.
–Eric
And you can probably just add what’s in the last example on this page to many other shaders. That is, simple shaders that don’t use the programmable vertex pipeline. But if you’re using vertex colors, I’d say there’s a pretty good chance that you don’t need that, right?
I am just an artist so I know very little about the script heavy side of things, I am just trying to get a little more milage out of my scene by coloring the verts (faking ambient occlusion) and the like. I will show this thread to the programmer I am working with and let him figure it out :P.
Oh one question, does this mean that I can do the vertex color in Max and use this shader to make it show up, or is this something that opens a vertex color channel within unity and i will have to apply the vertex color in there?
Thanks for the help though
Krooked
Yes.
Sweet!
Thanks again
Krooked