Hi @DariusG - this is really beautiful - could you share it? I love the frame too - congratulations!
That’s not on shaders repository, it’s a shader i work here and there on my pc trying to somewhat mimic a 1084s, frame comes from a real 1084s too. If you want it I’ll upload it to paste it manually on your shaders folder.
I hope you’ll be willing and happy to publish it in the future. I’d be happy to try it. Thank you so much!
#reference "shaders_slang/crt/crt-guest-advanced-hd.slangp"
GAMMA_INPUT = "2.400000"
gamma_out = "2.200000"
h_sharp = "2.350000"
s_sharp = "0.920000"
SIZEHB = "1.650000"
SIGMA_HB = "0.880000"
SIZEVB = "1.650000"
SIGMA_VB = "0.880000"
warpX = "0.042000"
warpY = "0.048000"
c_shape = "0.170000"
csize = "0.020000"
beam_min = "1.060000"
beam_max = "1.460000"
scanline1 = "15.000000"
scans = "0.360000"
glow = "0.050000"
bloom = "0.138000"
mask_bloom = "0.038000"
halation = "0.035000"
brightboost = "1.500000"
brightboost1 = "1.300000"
shadowMask = "2.000000"
mask_layout = "2.000000"
maskstr = "0.118000"
maskboost = "1.450000"
smoothmask = "0.090000"
mclip = "0.110000"
maskmid = "1.000000"
gsl = "2.000000"
hmask1 = "0.000000"
bsize1 = "0.031000"
You can download it here
https://github.com/metallic77/shaders_glsl-slang/blob/main/1084s.zip
Thank you so much for sharing your work!
Hey there,
This week got me playing through the CD-ROM version of Call of Cthulhu: Shadow of the Comet (1993) on DOSBox-Pure. A french point and click inspired by the works of HP Lovecraft. It’s not a really good adventure game in term of puzzles, but hey, there’s Jack Nicholson and Vincent Price in there, so it cant be all that bad… XD
I capped the CPU cycles at something around 2500 cycles so that the animation weren’t sped up too much, then I used CRT-Guest-Advanced with JINC2 and ScaleFX prepended, and set the gamma to in 2.80 / out 2.40 and raise black level to -20, as I found the grey level and undertones were far too bright in the raw images. This way I think it looks fthaghn.
Vincent LePrice
Jacques DuNicolesson
(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)
Coming along nicely! Looks like it could benefit from a bit of sharpening but why does the banner look so orange instead of red?
It uses the exact same color conversion process I wrote about here: https://forums.libretro.com/t/correct-color-some-evidence-related-to-the-nes/48914/155?u=anikom15
The red channel gets boosted significantly and slightly shifted to orange by the conversion matrix. Then the final color correction stage to map to sRGB compresses red which also makes it look more orange. The NTSC-J phosphor is not only more orange, but the transform from D93 to D65 also makes it more orange as well.
Sharpness is tricky because I believe actual TVs are far blurrier than even those screenshots. Even PVMs, while they have high resolution, are still quite soft. The trouble is twofold. Compared to raw screenshots, a very blurry image is jarring. People aren’t used to it. The second is that our perception of blur on the CRT vs. the modern display is different. I believe this is because of how the brightness and masking interacts. The CRT is more blurry, but we still perceive it as acceptably sharp. However if you look closely at a CRT you can see how difficult it can be to distinguish individual pixels depending on the content.
The shader has a mask diffusion parameter. The default value is 2.0 and is designed for a standard brightness level, like 100 to 200 nits or so. The brightness is adequate for this level. You can reduce the diffusion to get a sharper mask and ramp up the brightness. This should result in a more realistic image. I would eventually like to have an HDR set of presets that will handle this automatically for HDR displays.
This doesn’t make much sense to me. Whatever we see and perceive is what we experience and what we should be trying to emulate, including the colours. There’s a point where theory should give way to the practical because sometimes we can make mistakes in our calculations or theories and sometimes we need to make up for what is unaccounted for or can’t be fully understood or explain so we hack, cheat or fake it until we get it to look and feel right.
Take a look at the CRT shots in these links. This is what we should strive to see in our screenshots and output of our LCDs/OLEDs:
both of your statement is correct, CRT tends to get blurrier in flat and bright areas, but it will be sharper (less blurry) than that in Edges (especially in text which has a big contrast change)
You are sharing pictures of late model high-end CRTs with RGB inputs (except for the Street Fighter one) and these shader presets are simulating late 80s consumer TVs on composite. Fundamentally there is a TVL difference of anywhere from 30% to 80%. That is why you’re seeing such a big difference.
This is actual 20" consumer CRT shot on RGB (wait for it to load), i would say it’s a bit sharper too than those screenshots. Camera will blend and smooth colors a bit.
Composite
300 TVL was common in the 80s and early 90s, then with S-Video it started going up, and went up further with DVD and then EDTV. 450 was around the high end for a consumer set toward the end of the CRT era, 500 and up is seen exclusively on professional monitors, as far as I know.
I like shots 1 and 3, the mask in 2 looks a bit strange IMO.
Soft but sharp, glowy CRT feel. Using a custom overlay with guest-advanced to add strength to the vertical lines of the slotmask while reducing the mask strength and boosting brightness. I think it works perfectly, except I have to fiddle with the custom aspect ratio width to get it to line up right, which isn’t ideal. The overlay brings a very noticeable improvement.
I believe <300 TVL was common for 14" low end consumer sets (the reason some people say “i don’t remember scanlines”, they were playing on a low end 14"), 20" were around 400-450 TVL. Middle sets like the 1084 were 400+ on 14". They were really sharp, although some blurriness was common on 14" low end.
But to be blurry as in e.g. crt-lottes you would need a composite signal and a 14" low end and that was a pretty common combination back in the day nevertheless.
Just for some additional context @anikom15 and @DariusG, this is the “TV” that I grew up with. From the 80’s straight through the 90’s and it was very sharp and clean through Composite. I wish I had known about the S-Video “mod” back in the day.
https://www.reddit.com/r/crtgaming/s/E4WFYk4hhw
Late 90’s it developed some issues, then spent the last couple years under a table before finally being dumped at the side of the road long before we knew the real value of those things.














