Home Technical Talk

Vertex color, I'm going crazy (Unity and Maya color differences)

ecas
polycounter lvl 8
Offline / Send Message
ecas polycounter lvl 8
Hello

Well in the past month, I have started to work with vertex color every now and than,
and I always having some problems for some reason. I'm starting to lose it...

My problem now is that I have color differences between Maya and Unity, in the
image, the left side is from Maya with flat lighting settings, and on the right
is the result in unity, anybody have any idea why is this happening?

Replies

  • kodde
    Offline / Send Message
    kodde polycounter lvl 19
    Handling of Gamma/Linear space in the shading pipeline?
    Different gamma or exposure settings?
    Eye adaption post processing?
  • ecas
    Offline / Send Message
    ecas polycounter lvl 8
    Hey, Thank you for the help, well I don't really know how to change the options
    yous gave me (I'm using Maya mainly for the vertex color and a bit of modeling),
    but after some internet search I went to the gamma correction in the viewport options and enable it, and now the colors are really close in value, there is still a slight difference but I can work with it.

    Another check I did was to sample the RGB value from Photoshop, and the problem is in Maya of course, Unity is fine.

    Since the colors are not exactly the same, I'm not sure it's the best solution, plus
    it seems wierd the gamma correction only affect the vertex colors no?
    I mean I also have the coin texture and it's not that different only the vertex color.
  • kodde
    Offline / Send Message
    kodde polycounter lvl 19
    Could it not be an issue of Maya showing Linear Colors in the viewport? I.e. not converted back to gamma space before being shown? Could be that textures are handled correctly in this aspect, but vertex colors are not handled in the sense you'd want them to (I won't go as far as to say incorrectly).

    What version of Maya are you on?
  • kodde
    Offline / Send Message
    kodde polycounter lvl 19
    But then again... if you are just showing the colors straight up in Maya this shouldn't be an issue right? Since your not doing any shader calculations in Maya with the vertex colors right?

    Linear/Gamma space is still a bit abstract for me at times. Gets confusing.
  • ecas
    Offline / Send Message
    ecas polycounter lvl 8
    As for the linear colors in the viewport, I have no idea, I don't really know how to check it even, I'm using Maya 2015.
    I'm not doing any shader calculations, and I agree the Linear/Gamma space is very confusing, I need to learn more about it.
Sign In or Register to comment.