Home Technical Talk

[ Xnormal] vertex painting swapping colors?

polycounter lvl 4
Offline / Send Message
Apocrs1980 polycounter lvl 4
Hey all I'm new to the Polycount community but had a specific question I have not been able to find answers to anywhere online. I am hoping that some one in the community has ran into this problem before and had found a solution.

So, I'm working on finishing up my model and had exported it out just to test on the fly how it is looking. My issue is when I bake a texture map using the option from HP vertex color it bakes out with colors swapped. In my specific case the Zbrush model has purples and pinks for the skin tone and green mossy areas, however when I bake the map all of the skin tones are now green and the mossy areas are purple... I'm baffled and I have tried just about everything to get it to work correctly.

The only thing I haven't done is a cage, however from what I am reading that is more for hard edges that it is organic models. (which mine is.) here are some pictures of what I am talking about.

Here is the color profile in Zbrush


and here is what happens when I bake the base texture from HP vertex



Any ideas?? I pretty much stopped poly painting for now because I have no idea how screwy all the colors are going to turn out.

Thanks much in advance.



Replies

  • CheeseOnToast
    Offline / Send Message
    CheeseOnToast greentooth
    Are you exporting the mesh as an FBX from zbrush? I had a similar issue (unresolved) when making some ID masks via polypaint. If so, try it as an OBJ and see if that fixes the problem. This is definitely on Xnormal's end, since importing the FBX into maya, marmoset etc. doesn't show the same error.

  • Apocrs1980
    Offline / Send Message
    Apocrs1980 polycounter lvl 4
    Yes, I was exporting as FBX. I will give the OBJ a shot and see if that resolves the issue. I will post back here later this evening with my results. Thanks much cheese.

    UPDATE:

    Confirmed, Xnormal does not like baking vertex colors with FBX files, OBJ did the trick. Thanks again Cheese saved me hours of headaches. Also I hope this thread is helpful for anyone else out there that runs into the same problem. :) Cheers!
Sign In or Register to comment.