Search Issue Tracker

Fixed

Fixed in 3.2.0-pre.3

Votes

0

Found in [Package]

3.2.0-pre.2

Issue ID

TMPB-159

Regression

Yes

[TMP] TextMeshPro Text outline color is brighter compared to Gamma Color Space when using Linear Color Space

Package: TextMeshPro

-

Steps to reproduce:
1. Open the attached user's "14151456-TMProGammaSpace.zip"
2. Open SampleScene
3. See Vertex Color of "Text (TMP)" GameObject under Canvas
4. Observe values (255, 155, 0, 255)
5. See Outline Color of Text (Distance Field shader)
6. Observe values (255, 155, 0, 255)
7. Notice the colors are different in Scene and Game Views
8. Switch to Gamma Color Space in the project settings
9. Notice the colors are the same in the Scene and Game views

Expected: Colours are the same in Linear Color Space (See attached GammaSpace.png)
Actual: Colours are different in Linear Color Space (See attached LinearSpace.png)

Reproducible with: TMP 3.0.3 - 3.2.0-pre.2 (2021.3.16f1, 2022.2.3f1, 2023.1.0a25)
Not reproducible with: TMP 3.0.6, 3.2.0-pre.3 (2020.3.44f1, 2021.3.16f1, 2022.2.3f1, 2023.1.0a25)
Couldn't test below TMP 3.0.3 due to TMP package errors when downgrading

Notes:
-TMP 3.2.0-pre.3 includes updated TMP Essential Resources and TMP Examples & Extras which fixes the issue. They need to be updated via "Window - TextMeshPro - Import..." menu options.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.