microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
95.85k stars 8.34k forks source link

HDR: What if we supported colors beyond the mortal realm? #17203

Open lhecker opened 6 months ago

lhecker commented 6 months ago

I think it'd be kind of funny if we supported scRGB with half-precision floats, just like what DWM uses for composition on HDR displays. That would allow us, either just for fun when defining colors in a theme, or maybe for dithering, to use fine grained floating point brightness values and chromaticity (color) values. That way we could finally ship an official "Barbie+" theme were all colors are pink but some are even pinker than the others. Here's what scRGB looks like, the white triangle is sRGB:

ScRGB svg (Source)

This requires two changes:

Andarwinux commented 3 months ago

Not sure HDR/scRGB makes sense, but it's best to consider 10bit and P3 first, most modern monitors support them.

Dragon1573 commented 2 months ago

Not sure HDR/scRGB makes sense, but it's best to consider 10bit and P3 first, most modern monitors support them.

I'm currently using a monitor with HDR 10 and SDR + 95% P3 support.

image

With HDR off, setting opacity of background image at any value you want (I'm currently 20%), the image looks perfect.

image image

But with HDR on, image looks nice only when setting opacity as 100%.

[!NOTE]

When taking screenshot with PixPin, HDR will temporarily off and goes back to SDR mode.

image

While decreasing opacity to 20%, background image becomes terrible (overexposure) ...

IMG_20240922_225557_edit_533848920224788

Andarwinux commented 2 months ago

This may be caused by the lack of Alpha depth due to the R10G10B10A2 format.

My concern with HDR is mainly display life, which is not a problem for miniLED, but for OLED static HDR scenes are extremely dangerous.

Dragon1573 commented 2 months ago

Now I switch to another image as background and configure opacity back to 100%. The new image only takes 512x512 zone of my 3440x1440 screen at bottom right (keep black in other zone). It won't affect me when I'm using the terminal.

Andarwinux commented 2 months ago

I would recommend just using acrylic or mica, they usually provide softer tones, which helps prevent visual fatigue. Mica looks pretty good in WCG/HDR.