diff options
author | Martin Andersson <g02maran@gmail.com> | 2019-11-18 13:51:06 +0100 |
---|---|---|
committer | Martin Andersson <g02maran@gmail.com> | 2019-12-09 22:33:29 +0100 |
commit | 068309acaa787fe8a094869e839c1d0131721f55 (patch) | |
tree | 371215d00812ba7e77f4762a95b20fc0eb269416 /src/render/lights/qspotlight.cpp | |
parent | 69789d0184ffa54c1760ad5204bb4539c9399753 (diff) |
QDistanceFieldMaterial: Don't scale rgb colors with distance field alpha
Scaling the rbg colors with the calculated distance field alpha value can
result in faint text and different colors across the same text. These
issues are most obvious when the text is small.
Change-Id: Ia12e54e3f344cb918575739a15e519e34d67e0f1
Reviewed-by: Wieland Hagen <wieland.hagen@kdab.com>
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/lights/qspotlight.cpp')
0 files changed, 0 insertions, 0 deletions