[PR #12734] AtlasEngine: Fix grayscale blending shader #29216

Open
opened 2026-01-31 09:33:32 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/12734

State: closed
Merged: Yes


5964060 contains a regression were the grayscale blending algorithm used the
gamma corrected foreground color as the pixel color, instead of blending that
color with the background color first. Due to that the background color
got lost / got set to black. This breaks any dark-on-bright outputs.

PR Checklist

  • I work here
  • Tests added/passed

Validation Steps Performed

All 3 "antialiasing" settings work just like in DxEngine.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/12734 **State:** closed **Merged:** Yes --- 5964060 contains a regression were the grayscale blending algorithm used the gamma corrected foreground color as the pixel color, instead of blending that color with the background color first. Due to that the background color got lost / got set to black. This breaks any dark-on-bright outputs. ## PR Checklist * [x] I work here * [x] Tests added/passed ## Validation Steps Performed All 3 "antialiasing" settings work just like in DxEngine. ✅
claunia added the pull-request label 2026-01-31 09:33:32 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#29216