Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

3D Text vs UI text color property ambiguity

Discussion in 'Documentation' started by Douvantzis, May 22, 2020.

  1. Douvantzis

    Douvantzis

    Joined:
    Mar 21, 2016
    Posts:
    77
    This post is made after filing this "bug".

    TLDR: setting the same color value in a 3D text and a UI text, produces non matching colors when the project is using linear space.

    It seems that 3D text and UI text adjust the vertex color of the shader to "tint" the text rendering. While, UI text excepts an sRGB color value, the 3D text does not (and thus doesn't convert it to linear scale if needed).

    This is far from intuitive for a 3D text user and is an implementation detail. So, i think that this behavior should either be documented or fixed.
     
unityunity