New CRT shader from Guest + CRT Guest Advanced updates

Mask 10 huh. Never considered that as a possibility as I’ve always associated the different rgb masks with different resolutions. Mask 6 for 1080p, 10 for 1440p and 12 for 4k. I’ll definitely be giving this a try when I get home later, thank you for the tip.

I also realized in that Shadow Mask preset I posted up above is that although I got the mask right, I found out I got the alignment of the phosphors wrong since I came across this image here of how Shadow Mask phosphors are suppose to look. I assume shift 2.0 or 2.5 does that look there.

1 Like

Wider masks, when shifted, become suitable for lower display resolutions, it’s a nice feature. :smiley:

The most proper representation of a shadow mask is IMO lottes mask 4 or mask 6 / size 2 / shift 3.0, but it’s a bit coarse even for 1440p.

The relevance of shadow masks for emulating a crt tv’s is not this clear to me yet, since apreture and slotmask designs seemed to dominate the ‘golden era’ TV segment.

More expensive pieces like NEC multisync monitors should have shadow mask technology implemented, like for example mentioned in this clip:

4 Likes

Interesting information here.

I’ll try those settings out, if that gives me the same look and alignment of the phosphors as in the pic I linked then I’m good to go.

I understand, I personally can’t remember if I owned a shadow mask tv in the early 90’s, I do remember being stuck with an aperture grille tv from the mid 90’s pretty much up to when it died in the early 2010’s lol. I’ve always heard good things about NEC XM29, would love to try gaming on it one day

1 Like

So I just tried those settings out using mask 6, size 2 and stagger 3 and you pretty much hit the nail on the head, the phosphors align just like it does in the pic I linked.

For this test I turned off all brightness settings so that it’s dark and you can focus more on the phosphors:

Best area to see it clearest is right where Trevor’s cloak is on the upper left side where it’s brightest.

Now that I know the settings to use I can now start making Shadow Mask presets.

My next curiosity with this mask is, is it possible to make the phosphors appear more like dots or circles? I notice it looks more like squares when you really get up close and look at the phosphors. Maybe that’s the way it’s suppose to look I don’t know, just something I noticed.

2 Likes

You really need resolution for this, i would say at least 6k. Then you can even begin to shape the “phosphors” in a somewhat crude manner, like:

XRX
RRR
XRX

With “size 2” masks you can’t do a symmetric shaping by adding black pixels unfortunatelly:

RR
RR

Ofc. it could look a bit different with 8k:

XRRX
RRRR
RRRR
XRRX

Anyway, resolution is a major issue here.

4 Likes

The old TV used as a reference is from the end of the 60’s, slot mask began to take off in the 70’s. Dot shadow mask was used at least used in TVs throughout the decade. I was earlier inquiring about lowest TVL with that mask here. Although I had monitors in mind because I thought TVs with the design had become obsolete before gaming was a thing, hunterk pointed out that Zenith did continue development based on that mask design in the 70’s. I find this quite interesting now, because it’s not clear when low-TVL sets with masks like that ceased entirely to exist. There’s a couple of interesting articles in the US Popular Science mag regarding TV (mask) developments from that time.

E.g. here, Nov. 1973 issue:

Who’s using the slot-mask tubes? They’re so new only a small percentage of the '74 models have them. RCA uses their tube, the AccuLine, in some 15-, 17-, and 19-inch all- solid-state models. Magnavox, re- vamping their entire line, puts RCA’s tube in 17- and 19-inch 100-percent solid-state models. Sears, Admiral, G.E., Teledyne Packard Bell, Sharp, and Toshiba also use slot-mask tubes

The page after that describes a test comparing new high voltage tubes with the other designs:

Zenith has boosted 17-, 19-, 23-, and 25-inch- set chassis by several thousand volts. Other set makers have increased the voltage on some models, too. How do the new high-voltage tubes compare with the slot-masks in picture quality? It’s a standoff. The Zenith (high- voltage) and RCA (slot-mask) 17-inchers I’ve been testing produce crisp, equally bright pictures. Zenith’s boosted-voltage 19- inch Chromacolor set compares equally with Magnavox’s 19-inch slot-mask receiver. Tops in picture quality was the 17-inch Sony (model 1722) I also tested. Its slim cabinet houses a 114-degree Trinitron tube. ( Most pic- ture tubes flare 90 degrees from their necks.) Sony’s single-lens focusing of in-line beams and the flatter tube, which reduces electron-beam diver- gence, provide amazingly sharp im- ages.

So, videogaming was clearly a thing with these when it took off, but normally, you’d likely only have a RF connection. :grin:

6 Likes

Finding evidence that the design persisted in the 80’s in TVs via the grandiose German https://www.hifi-archiv.info/

This JVC advert is supposed to be from ca. 1980, marketing their “Super-Matrix” tube:

6 Likes

Had a feeling it would come down to that. There’s only so much you can do with 1080p, I’m still surprised at what I’m able to pull off now with your shader at that resolution. It’s still cool that I’m able to pull off so many types of masks regardless, your shader can pull off the 3 common masks Aperture, Slot and Shadow and those are the 3 I plan to have all in my pack eventually. Thank you for the detailed answer.

2 Likes

You know CRT Shaders intended for 4K displays actually look good on lower resolution displays using nVIDIA DSR or AMD VSR. Maybe that’s something you can explore or experiment with. It may not be ideal from a creation standpoint but might bring some interesting results from a consumption standpoint.

2 Likes

New Release Version (2023-02-20-r1):

Notable changes:

  • Magic Glow wide glow improvements. The overall image is cleaner and less de-saturated.
  • Special effects of bullets, explosions… are better pronounced.
  • Better integration of magic glow with scanlines.
  • Existing presets which use magic glow for better contrast (lower sigma values) shouldn’t be affected.

Download link:

https://mega.nz/file/E4gzjTCL#yGENFxn_4I4kcdQMj-aZZAS0r_wkOXqkrHwAIHEg0rA

19 Likes

You just keep making this shader better and better. I already got a new update coming just for this update. Good stuff man.

3 Likes

I couldn’t agree more :boom:

9 Likes

Ordinary Glow

Magic Glow

Photo

9 Likes

Hi! A quick question: I’ve been using an older version of the shader and it looked perfect on basically every game. I have updated recently and now games like Tekken 3 (384x480 resolution, interlaced) are extremely blurry and no amount of tinkering makes it look good. I see there is HD version which looks sharp but it looks blurrier on standard 240p games. My preferred way was to set a single global shader for everything instead of having a different preset for every game. Is it not possible anymore? Thanks!

1 Like

Hey there!

You are right, changes were made with filtering and interlaced mode. The filtering is somewhat stronger with interlaced mode activated, so it looks similar when the game is running standard or laced, regarding the increased horizontal resolution with interlaced mode.

There are exceptions though with the games you mentioned. To increase sharpness you must simply increase the horizontal sharpness value and you are good to go. Maybe this means you can save another preset for such games, unfortunatelly there are no other workarounds unless you download and use an older version of the shader (see first post in the thread).

3 Likes

Thanks, but unfortunately increasing the horizontal sharpness value makes non-interlaced content (FMVs) too sharp. Also, some Namco games use even more non-standard resolutions (320x480) in the menus - Rage Racer, Ridge Racer Type 4, Ace Combat 2 and 3 (the latter makes you spend half of the time in the menus due to it’s visual novel style storytelling).

If I am understanding correctly, the coefficient is governed by this variable:

float fdivider = max(min(mix(prescalex.x, prescalex.y,TATE), 2.0), 1.5*float(interb));

and changing this to

float fdivider = min(mix(prescalex.x, prescalex.y,TATE), 2.0);

removes the increased filtering for the interlaced mode?

Would adding here an additional check for low horizontal resolutions be against your current goals for the shader?

2 Likes

Or maybe, instead of constant 1.5 for all interlaced content, something like this: (assuming 1.5 is our desired value for horizontal resolution of 640 px and we don’t want to go over 2.0)

float icoeff = min(global.OriginalSize.x / (640 / 1.5), 2.0);

float fdivider = max(min(mix(prescalex.x, prescalex.y,TATE), 2.0), icoeff*float(interb));

2 Likes

It should function indeed. Meanwhile you can use such a solution if it works for you. But something similar will be included in the next release.

2 Likes

@guest.r, was the “prescale-x factor” function removed?

1 Like

Not removed, it’s now automated, based on the pre-scale ratio. Works really well, no need for manual tuning tbh.

1 Like