This fixes the premultiply function in ShadowedRectangleNode and does not
double-apply alpha blending in the shaders. In addition it fixes the core profile
shaders to actually work. It also makes the shadow offset pixel-correct.
Details
Details
- Reviewers
mart broulik - Group Reviewers
Kirigami - Commits
- R169:fe9073ec847b: Fix color premultiply and alpha blending
Colors are now correct when compared to a normal rectangle.
Diff Detail
Diff Detail
- Repository
- R169 Kirigami
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
- Revert "Don't premultiply colors"
- Fix the premultiply function
- Fix blending, offset positioning and other things of shaders
Comment Actions
Qt.color(0,0,0,0.3) now matches between DropShadow layer and the ShadowedRectrangle. Very nice!