8 ms·
Cathode-Retro: A collection of shaders to emulate the display of an NTSC signal
- fjfaase 3y agoNTSC was also known for its poor colour reproducability compared to PAL due to how the color signal was modulated. PAL had automatic control where NTSC often required manual adjustment in case the hue was drifted. For that reason NTSC was often said to stand for 'Never Twice the Same Color' or 'Never The Same Color'. I wonder if any of the shaders also has this behavior of randomly shifting the hue or an ability to change it by a give offset.
- c-hendricks 3y agoRetroarch does have some NTSC filters (combined with svideo/composite input) that are appropriately noisy.
- phkahler 3y agoFair point for home games. Arcade games skipped NTSC and just used RGB on separate wires.
- orbital-decay 3y agoA lot of home hardware had RGB as well. The variety of hardware in general was pretty high, to the point that many tricks pixel artists employed only worked on very specific hardware combinations. Case in point: https://www.youtube.com/watch?v=j-G02cjXpZ0 https://www.youtube.com/watch?v=j-G02cjXpZ0 Notice the glass tubes at 0:47+. On the composite output, they look smooth and have that rainbow effect. This only worked on first revisions of the Megadrive; later ones had better quality output, mostly losing the effect. The same applied to displays - crispness, scanlines, bleeding etc were all different.
- pests 3y agoI didn't see your 0:47 reference and almost couldn't tellt he difference but then it was obvious. Isn't there a similar issue with sonic in front of the waterfall not working correctly on emulators?
- bogantech 3y agoAs a PAL person I wonder if there are any shaders that give Hanover bars
- kloch 3y agoNTSC colors were bad - really bad - but wideband bayer filters + sRGB are the source of the mediocre colors we see today. We could have beautiful Kodachrome quality colors If we used narrow-band RGB filters and a wide gamut (Rec.2020, or Rec.2100PQ) colorspace. If you look at the spectral sensitivity specs of Kodachrome film they are fairly narrow-band and closely matched the perceptual sensitivity of human vision (CIE 1931). If you display an sRGB encoded image with Rec.2020 gamut (without colorspace conversion) the colors will appear very washed out. If you display a Rec.2020 encoded image on sRGB (without colorspace conversion) it will appear oversaturated. Separately, narrower and/or more widely spaced bandpass filters will increase color saturation. It turns out that narrow-band filters approximating the CIE1931 curves are a natural match for the Rec.2020 colorspace. Since CIE1931 approximates how humans perceive color the colors are also more accurate. It was a "lucky" accident that the properties of CRT phosphors, from which sRGB is derived were a good match for the wideband color filters used in color video cameras.
- zokier 3y agoThere is good reason why many high end projectors use lasers as light sources these days; you can't get much more narrow-band than that. https://www.christiedigital.com/about/display-technology/laser-projection/rgb-laser-projection/ https://www.christiedigital.com/about/display-technology/las... https://www.barco.com/en/inspiration/news-insights/barco-residential-freya-goes-full-rec2020 https://www.barco.com/en/inspiration/news-insights/barco-res...
- scoopr 3y agoI wonder if the composite emulation is good enough for 8088mph[0][1][2]? :) [0] https://www.youtube.com/watch?v=hNRO7lno_DM https://www.youtube.com/watch?v=hNRO7lno_DM [1] https://trixter.oldskool.org/2015/04/07/8088-mph-we-break-all-your-emulators/ https://trixter.oldskool.org/2015/04/07/8088-mph-we-break-al... [2] https://int10h.org/blog/2015/04/cga-in-1024-colors-new-mode-illustrated/ https://int10h.org/blog/2015/04/cga-in-1024-colors-new-mode-...
- fwwyvc 3y ago[flagged]
- fwwyvc 3y ago[flagged]
- dylan604 3y agoI'd love to see an option to have the image pincushion and introduces a buzz in the audio from an video signal that was too strong? That was one of my favorite. Everyone focuses on the interlacing, giant pixels shapes, and the fun with chroma bleed, but some of the most bizarre things could happen when you pushed the analog signal too far. The 1 volt peak-to-peak was a rule for a reason, and going past was possible. Terms like whiter-than-white from pushing the video signal from a test pattern past 100ire on a scope could cause issues with the combined RF modulated audio/video signals. The most flagrant offender was white text. If you were competent at your job, you never used 8-bit 255,255,255 for white. That was out of bounds for NTSC, so 235,235,235 was typical instead for white. The next filter would be the infamous "broadcast safe" filter that would clamp the video signal to video was not higher than 100ire. Allowing for chroma clamping separate from video clamping would be a bonus. Hell, just give the basic functions of a TBC to the users. They don't need to understand what they are doing to the signal so much as just a few knobs to get creative!
- reactordev 3y agoAlso, while the representation of the pixel grid is fairly accurate, it's missing the chromatic aberration from the fact that they were individual electron emitters of red, green, and blue phosphor dots. Pushing the red channel 0.05f and the blue channel -0.05f on the x axis should do the trick.
- dylan604 3y agoThere's a fun technique in After Effects to separate the image by channels, and then apply an effect turning the image into grids of small circles. Nudge the red a couple of pixels left, the blue a couple of pixels right, and then the green a couple of pixels up. When these are merged back, you get that very look you've described.
- reactordev 3y agoYeah, we can do it in the shader by taking the UV texcoord, sampling the texture rgb, then using a collector, add the r, g, b values to the collector with the offsets in uv's to return the pixel color. It's extremely easy to do in HLSL/GLSL/WGSL/SPIRV/Metal. It can even be controlled using a vector map for the offsets so you can tune it and vignette the chromatic aberration around the edges of the screen. Giving it that truly retro CRT arcade feel. The more the spherical projection, the more aberration. https://lettier.github.io/3d-game-shaders-for-beginners/chromatic-aberration.html https://lettier.github.io/3d-game-shaders-for-beginners/chro...
- DrNosferatu 3y agoWhat about PAL?
- xcv123 3y agohttps://github.com/LMP88959/PAL-CRT https://github.com/LMP88959/PAL-CRT
- djbusby 3y agoSeems like a good spot to mention https://github.com/Swordfish90/cool-retro-term https://github.com/Swordfish90/cool-retro-term Cool Retro Terminal is a nice accessory for when doing recording or screenshots - cause it looks cool. Can't use it as my daily driver tho. And enough settings in there you can make it look like your favourite old one.
- com2kid 3y agoI really wish cool retro term supported multiple tabs in MacOS. I actually daily drive it, if you set things up just right it is absurdly readable, more so than a regular terminal IMHO.
- westurner 3y agoA similar theme for JupyterLab/JupyterLite would be cool jupyterlab_miami_nights is real nice, too https://anaconda.org/conda-forge/jupyterlab_miami_nights https://anaconda.org/conda-forge/jupyterlab_miami_nights DI's Synthwave station somewhat matches the decade: https://www.di.fm/synthwave https://www.di.fm/synthwave Lighter almost solarized red for terminal text is also a decent terminal experience IMHO
- weinzierl 3y agoAll these CRT emulations seem to be optimized for realtime filtering (especially for retro gaming). What I am looking for is a high quality CRT node for Nuke, Natron or Blender. Is there something like that?
- jfaulken 3y agoCheck out MrmoTarius' work for Blender. https://mrmotarius.itch.io/mrmocrt https://mrmotarius.itch.io/mrmocrt
- layer8 3y agoThey should show comparison photos like the ones from https://wackoid.com/game/10-pictures-that-show-why-crt-tvs-are-better-for-gaming/ https://wackoid.com/game/10-pictures-that-show-why-crt-tvs-a.... Additionally, LCD and OLED have their own subpixel artifacts, so I wonder if that has to/can be compensated for when displaying a CRT emulation.
- paol 3y agoThanks! I once read this article and could never find it again. The screenshots here are second to none for showing why the quest to reproduce CRT rendering is so important for preservation efforts. Without it graphics from this era simply don't look even remotely as intended.
- andai 3y agoThe way it's meant to be played!
- crazygringo 3y ago> Additionally, LCD and OLED have their own subpixel artifacts Can you elaborate? I've never heard anything about that, regarding a regular grid of R/G/B stripes. Or are you talking specifically about the weird PenTile layouts?
- layer8 3y agoSee here for example the black edge (or the white edge on the opposite side): http://www.lagom.nl/lcd-test/subpixel.php#subpixel.png http://www.lagom.nl/lcd-test/subpixel.php#subpixel.png Windows ClearType text rendering exploits subpixel artifacts to increase horizontal text resolution. Any kind of subpixels will result in some sort of artifacts. Tne higher the resolution, the less visible it will be, but it probably requires around 300 DPI to become imperceptible.
- matheusmoreira 3y agoSonic games also have plenty of CRT waterfalls: https://gamedev.stackexchange.com/a/167807 https://gamedev.stackexchange.com/a/167807
- jonwest 3y agoThe “Death to Pixels” shader pack for Retroarch has done an awesome job of tricking my nostalgia brain when playing old games. (https://forums.libretro.com/t/cyberlab-death-to-pixels-shader-preset-packs/35606 https://forums.libretro.com/t/cyberlab-death-to-pixels-shade...) I wonder if these are more efficient in sone way? Or accurate?
- BearOso 3y agoI doubt there's much difference. Just implementation details. The retroarch spec is a lot to code if you're just looking for one or two shaders. Also FYI: your link features a lot of shaders using the megabezel presets, which are extremely unoptimized. The koko-aio bezels in the same slang-shaders repository can do the same effects, but with much better performance.
- karmakaze 3y agoThe shadow mask is overly represented. This may work better on a yet even higher resolution display, or perhaps there's an option to reduce the shadow mask effect. The other thing that this emulation can't get right is that phosphor-based displays had more vibrant colors (at lower intensities) than currently popular (IPS) LCD panels. VA panels are better for this.
- doublepg23 3y agoI was blown away how sharp an Apple ][ display is in person. It’s really hard to get across how cool it looks.
- foobiekr 3y agoAmazingly, a classic first release Macintosh was vastly worse. Blurry and visible scan lines/interlace.
- icedchai 3y agoWere you looking at color or black-and-white? I always felt Apple II graphics were pretty meh due to all the color artifacts/fringing on composite monitors (IIgs being the exception, those generally had RGB monitors.)
- doublepg23 3y agogreen-on-black for a ][+ is what I have, but should be getting a recapped ][e model
- icedchai 3y agoThose monochrome monitors were very sharp. In elementary school, I had a friend with a IIe at home.
- doublepg23 3y agoWhen I was born the Apple ][ was considered outdated but I had a teacher in HS who had a //e in the classroom and it's been my white whale since.
- unixhero 3y agoI never understood why anyone would want interlaced mode. Can someone enlighten me?
- bogantech 3y agoIt doubled the amount of lines that could be displayed on screen back in the day. It usually doesn't look that bad if there aren't any thin horizontal lines imo
- unixhero 3y agoYes now that you say it. It was possible to go higher on VGA also and get dithering. And it was also the case for the vieeo out on composite or svideo. The result was barerly readable mud.
- whaleofatw2022 3y agoThe biggest value is when you are emulating hardware that output to such a display. Often the designers of software (especially games) optimized their art for the display. Castlevania Symphony of the night is one of my more favored examples of this, look up a crt-lcd comparison Aside from thqt, maybe artistic looks for new video...
- dbcurtis 3y agoPeople notice flicker below about 50Hz. So two 1/2-frames at 60 Hz gives flicker-free viewing of 30 fps video. The “light chaser phenomenon” kicks in at 15 Hz, so that is the minimum full-frame rate for the illusion of smooth motion.
- malkia 3y agoMy son (15) got hooked up on using old-"tv" effects, but he was not happy with existing shaders, Adobe Premiere / After Effects / etc, so by pure luck one day driving home saw an old Cathode TV/VHS combo boxset left outside for someone to pick up - and I've got it - the VHS does not work, but he's now happy with doing the effects he wants (plus old Hi8 camera for others).
- pdntspa 3y agoI always hated the weird fuzziness, soft lines, and curved image that old TVs imparted on games, it is amazing to me that entire communities have been built up around it. When I started playing games on an emulator and pixels were hard and square and the image was actually flat, I was like YES!!
- c-hendricks 3y agoIt's interesting, because artists on some games accounted for the fuzziness and used it to their advantage. You should play them how you want of course, but for something like Gameboy emulation I absolutely turn on shaders to avoid the nasty black-and-white.
- pdntspa 3y agoIs a shader really needed just to get the correct color palette? That should be a simple LUT
- c-hendricks 3y agoAnd a LUT is involved, but then you've got grid lines, response times, and contrast.
- crazygringo 3y ago> because artists on some games accounted for the fuzziness and used it to their advantage Everybody repeats this, but I've honestly never been convinced. Different screens and different systems had different types of different degrees of fuzziness. Designing for it seems like it would be impossible. I've never once seen an example of pixel art that looked good crisp and bad fuzzy, and then was somehow modified in a way to look worse crisp and yet better fuzzy. It doesn't even make sense to me how that could be. I'm happy to be proven wrong, but I need to see an example with my own eyes. And I've never seen anybody demonstrate it with a 2x2 example like that. Super Mario on a crisp LCD has always seemed aesthetically better than on a CRT. Not as nostalgic, sure. But nothing feels lost artistically -- to the contrary, it's clearer.
- bane 3y agoI love the current infatuation with modeling old CRT display systems. Old graphics and videos from the "time before" rely a bit on how those display systems and signals worked in order to make low-color and resolution artifacts look "better" in terms of smoother color gradients and softer edges and diagonals. The shift to modern displays mades everything form that era look blocky and chunky. The thing that makes this all really "meta-interesting" is that everybody who remembers that time remembers it differently and so there's no "correct" way to do this. We all had different TVs, monitors, different manufactures from different time periods. Some of us played color 16-bit games on tiny black and white TVs, or remember the flicker of the Atari 2600 on a giant RGB front-projection TV. As a result we have literally thousands of filters like this that try to reproduce or at least model how these old systems looked to give back some semblance of what we remember, even if it's all entirely wrong. I found after experimenting with a bunch of this that what seems to be more important than all the phosphor glow, scan lines, and shadow mask stuff, is that the display has to be curved for it to finally click with me. And then having reflections of the screen in the bezel are chef's kiss. It's so subtle, but just those two effects alone seem to do more for me personally than the rest. The Megabezel project is dedicated to what I'm talking about. http://www.megabezel.com/ http://www.megabezel.com/
- andai 3y ago>having reflections of the screen in the bezel are chef's kiss At first I thought this was a strange thing to ask for, but then I saw the image in the link and suddenly I agree 100%. This is beautiful!
- bane 3y agoIt's really striking in action, how the two things (the screen geometry and the bezel reflections) really make it feel like you're looking at a television. At times I completely forget the rest of the giant flat panel even exists.
- VikingCoder 3y agoWhich image are you talking about? I've played with Retro Emulators that add screen reflections and scratches and bezels that look like the original artwork on the arcade cabinets, and... I love it.
- winstonrc 3y agoI'm really excited by the current appreciation of CRTs. There is something so nostalgic about them that matches the warmth of listening to my favorite vinyl. I have had much more fun playing SNES and Genesis via my MiSTer on a PVM than I have had playing most modern games on an OLED display (although OLED is unquestionably beautiful, and I'm looking forward to the OLED Steam Deck). My biggest concern with my current setup is what will happen when my PVM dies? Will there be anyone around to fix it? Will I trust myself to safely open it up and fix it? The PVM I have isn't _too_ large, but it's certainly more heavy and inconvenient than a modern display. I'm really excited by the excellent work towards recreating how good CRTs look to preserve this bit of history and also provide another artistic option for future games to consider.
- mike_hock 3y agoShould be integrated into CRT (the terminal emulator).
- cmpalmer52 3y agoSo when can I load these into my TV and turn my 65” UHD TV into a 25” Curtis Mathis console (mini-bar optional) from 1978? Seriously, my wife is into Mid-Century Modern - a wood console CRT emulator would be awesome. I may need to set up a machine to connect to the TV. But I’d like to watch streamed shows on it.