Intro:
Here are the results of my recent experiments to optimize guest-advanced for 4k HDR1000 displays and 100% masks.
I adjusted the scanline beam profile to maximize the dynamic range, avoiding clipping of course.
Quite a bit of time was spent playing with sharpness controls. RGB sharpness is optimized, but NTSC sharpness can be adjusted to taste. I would avoid messing with the horizontal filter too much, though. “Horizontal Blur Sigma” can be increased up to 0.80 for more sharpness/ringing.
Mask 10 is the default, scroll down to “Recommended Mask Settings” for other mask settings.
I have omitted any combinations which resulted in low brightness, or which are not designed to work the display’s subpixels.
Any feedback or suggestions for improvement are welcome!
Observations:
Even at 1000 nits, I found some mask/scanline combos to be too dark. In fact, most slotmask combos still leave something to be desired. 4k HDR1000 is not the endgame for CRT emulation. There are still limitations with masks and scaling at 4k, and HDR1000 is not sufficient for all mask/scanline combos. At 8k, all of the mask/scaling issues should be resolved. HDR1400 is currently the highest tier of HDR brightness, which may be enough for all slotmask combos (does anyone have an HDR1400 display around here?).
Instructions:
-HDR1000 and 4k are required
-Recommended HDR settings for HDR1000 displays: Luminance 1000, Paper White 1000, Contrast 5.0. This may need to be adjusted based on your display.
-Local dimming should be disabled
-These have been tested at 10x scale with overscale - they should work pretty well at 9x and other scales, but I haven’t tested them thoroughly at other scales.
TVL and Brightness:
Preset: TVL: Brightness:
dotmask 432 Medium
MGX+slot 720 Medium
RGBX 540 Medium
MGX 720 High
RRGGBBX 308 High
Download: https://mega.nz/file/A6sFFJrQ#mqm5AGEOSmFGELncCH2yE7aFOEHTbRfpWOSxJRuoaf4
Photos:
Recommended Mask Settings:
| Mask Type | Pattern | Approx. TVL |
|---|---|---|
| RRGGBBX | 12 | ~308 TVL |
| RGBX | 10 | ~540 TVL |
| MGX | 9 | ~720 TVL |
Slotmask can be added to any mask by setting “Slot Mask Strength Bright Pixels” and “Slot Mask Strength Dark Pixels” to 1.00. You may need to adjust “Slot Mask Height” to either 2.00 or 3.00 depending on the scale that’s being used to avoid moire-like interactions between the mask and scanlines. Warning! Slot mask can make the image too dim even on an HDR1000 display.
A note on sharpness:
For low TVL masks like RRGGBBX, different sharpness settings are required. I recommend the following as a starting point.
ntsc_ring = "0.000000"
ntsc_sharp = "-10.000000"
ntsc_shape = "0.500000"
NDEBLUR = "8.000000"
DEDGE = "0.700000"
GAMMA_INPUT = "2.400000"
gamma_out = "2.200001"
HSHARPNESS = "1.000000"
SIGMA_HOR = "0.700000"
S_SHARP = "0.000000"
HSHARP = "1.000000"
MAXS = "0.300000"
Update 9/26:
-Replaced rgb presets with new presets using the ntsc version of the shader, tweaked for perfect sharpness/color/etc. The additional bit of processing looks better than the regular version of the shader- it’s actually capable of being a bit sharper with lower TVL masks.
-Spent quite a bit of time tweaking the horizontal filter- this should be the safe maximum for sharpness. Let me know what you think- best judged with a high TVL mask like MGX.
-Gamma corrected (standard 2.5/2.2) - helped color separation in highlights and improves the colors
-Adjusted beam profile accordingly. Try increasing Scanline Shape Bright Pixels and you’ll start clipping almost immediately. Try reducing it and the scanlines disappear over the brightest colors. Adjusted the dark beam as well to compensate for gamma adjustment.
-Added slight vertical deconvergence- I think it improves shade separation in highlights, lets you eek out a bit more brightness. Basically just gives you a bit more scanline variability. Plus, it looks good 
Update 10/21:
Reduced presets, added instructions for mask settings- minimizes the number of presets, and I like keeping things simple.
A few tweaks to gamma, brightness boosts, etc
Added magic glow 0.02 - I think it helps mimic more realistic phosphor behavior
Minor tweaks to sharpness
Added a new mode, “Enhanced S-video,” featuring “smart dithering deblur.” Basically the cleanest possible image with separate Y/C. Thanks, @guest.r!
One thing I would personally change if you tweak it further is differentiating sharpness more according to mask TVL.
You can crawl forward with Mario (just tap forward) and slowly scroll while observing the black line. This is mostly a thing with RRGGBBX. If you go too high with sharpness, text on Test Suite menu screen gets all rainbowy. If you go too high you can also see how things almost become less sharp when looking at some high contrast edges, in some situations- it’s kind of a color bleed effect. Going higher with sharpness caused some additional problems that can be seen in the Scroll Test - Try 15.00/2.00 with RRGGBBX and you can see what I mean.
