Unity Issue Tracker - Color becomes brighter when lerping two identical local and global colors
Closed
UUM-49597
Color becomes brighter when lerping two identical local and global colors
Unity: Shader System
As Designed
2023.3.X
2023.2.X
2023.1.X
2022.3.X
2021.3.X
https://docs.unity3d.com/ScriptReference/Shader.SetGlobalColor.html
says that it doesn't do color space conversions.
How to reproduce:
1. Open the attached “TrueColorationBug.zip“ project
2. Open the “SampleScene“ Scene
3. Enter Play Mode
Expected result: The “Cube” GameObject is the same color as the “Debug Color“ color in the “Debug Test“ Script Component
Actual result: The color of the “Cube” GameObject is brighter than the “Debug Color“ color in the “Debug Test“ Script Component