that unfortunate, because it is a wonderful effect, is there any obstacle to adding it in the HD version in the first place?
I already do, I asked since both NTSC and PAL should share similar basic options
that unfortunate, because it is a wonderful effect, is there any obstacle to adding it in the HD version in the first place?
I already do, I asked since both NTSC and PAL should share similar basic options
Is there any chance to incorporate more options for āNoiseā emulation to get RF-like presets ?
Such as from PlainOldPants's Shader Presets
The 2 Noise options from near the end of each Guestās preset is good but this guy on link above has delivered the effect to a next level. It look there so much closer to what I get with real 35 years old NES through RF and flat screen.
Linking this for context about the noise
ā¦and for source code: PlainOldPants's Shader Presets
and a later version which might or might not have updated the noise: PlainOldPants's Shader Presets
Looking back, patchy-ntsc was a mess, and it was far more experimental than I made it look. Sure, it got the processing steps right, with features that still havenāt been implemented by anyone else, but the settings are so far off that itās actually embarrassing and dishonest. (Not to mention the performance and code qualityā¦) I ditched the whole thing at the end of that year, and it took about 5 or 6 months before I finally made a fixed, faster alternative from scratch.
That said, that means itās been about a year since this kind of effort has been made to make this kind of RF noise effect in a shader.
HD version would need extra shader passes and code adjustments, but itās not a good idea because it would make existing presets stop working.
I want the PAL version to be lighter, more performant. NTSC version āneedsā other features like rainbowing and the edge colors hack, therefore itās all in an extra pass the PAL version misses. But FSharpen does an excellent job, itās newer, preserving some features adaptive sharpen doesnāt.
Itās a bit tricky with noise, my implementation allows 2D pseudo random noise. Currently full scope signal noise isnāt supported by design.
This. Itās a challenge, which also requires a lot of skill and dedication. Sometimes a simple single feature requires days of free timeās work. Why? Because experience raises from beginning and after a period of time, better solutions could be on the table.
that unfortunate, then any suggestion so I can add it in my PAL preset? mixing with other than HD? or only add a passes that has āraster bloomā (breathing)
Itās integrated with HD pretty close, using some features. It wonāt be a seamless integration, if you try it with the ntsc shader chain, because you would need to rename some samplers in shader code etcā¦
If anyone else is having trouble getting out of the rabbit hole:
-composite video causes color bleed
-color bleed leads to some saturation loss in the bleeding areas
-TV manufacturers had several mechanisms for boosting saturation, some built-in and automatic, some user-controlled
-In theory, you can almost equalize the color between the two inputs (RGB and composite). Not 100%, but pretty close
-This is why composite often looks dull on ābetterā CRTs; they arenāt doing the extra āTV processingā that makes the image pop
Current composite video strategy:
NTSC Saturation +20% (consumer grade chroma pre-amp)
Saturation +20% (consumer calibration)
Number of taps: lower to 10 or so for realistic 1980s-1990s composite video behavior
Gamma: 2.4/2.2
Safe volts: optional for ābad RFā setups with a lot of noise
Btw, loving the Smart Dithering with Fast Sharpen! This is like the āretro game modeā on an alternate timeline CRT where the tech advanced for another 20 years. 
As I made my Inquries, āSafe Voltagesā make sense with composite signals to, since chroma can be āhotā and allowed voltage limits can be exceeded. Dunno if with RF this is handled with AGC instead. AGC with RF was standard procedureā¦
āSave Voltagesā shouldnāt be an issue with svideo, dunno what they did there if chroma was āhotā, but they definitelly didināt join the luma + chroma signals and drive it over composite circuits. 
Ok, itās the safe volts interaction with chroma bleed that was causing the yellows to become very desaturated. I guess itās recommended to keep taps low when safe volts? With taps at 6.00 (no chroma bleed), safe volts produces a more realistic effect, with much more usable range.
safe volt 1.50, # of taps 6.00:
Whatās nice about this is that you get that āfor freeā just by (a) reconstructing the dot pattern and (b) modeling the composite encoding and decoding according to the standards and how a CRT works. The newer shaders by Patchy and Beans show this and my updates to Scanline Classic show this. You model the encode -> filter -> modulate -> demodulate -> filter -> decode all in gamma-corrected space and you get the color bleed and dot crawl. The tricky thing is how the underlying dot pattern changes from system to system (at least until the fifth generation).
The subjectivity lies with the filtering and adjusting the colors to mimic different compensation behaviors by different TVs, so there is plenty of creative room, so to speak, for different authors to develop different shaders with different techniques.
I mean TVs are still doing that kind of processing to this day. When you get a TV out of the box, even a good quality one, you need to change it to movie/cinema/professional mode to get the more accurate factory-calibrated colors. What is different nowadays is that the factory calibrations are actually way better and more stable than they used to be.
I know HDR left a bad impression for some people because, relative to the overprocessed vivid modes of many TVs, it actually is darker overall (because itās bright relative to the calibrated SDR at 100 or so nits). If you run your display at a high brightness all the time, HDR doesnāt have as much room to go brighter.
That is, I donāt think itās just composite that looks dull on better CRTs. Itās everything, but dull is okay if the result is more natural.
Libretro now has a lot of CRT shaders, many of these have not been updated in years, and I think we can (maybe) do some work to organize them in a smart way. Here is an example:
The consumer-like can maybe be split into two categories: ones that are more idealized and ones that really are meant to degrade/age the picture. MAMEās HLSL would be the latter.
There is also a lot of knowledge sharing going on. It would be neat if we had a CRT shader development wiki or something of that nature, like how NESDev compiles its info into a wiki.
Megatron is more like a phosphor/scanline/gamut mimicry kit if that makes sense? You can use it to mimic specific displays, or even broad non-specific types of displays.
For example, the āAperture grilleā presets included with my AzMods fork aim to capture the distilled, idealized ālookā of a Trinitron, rather the particular quirks and foibles of any one model or unit.
Yeeeeeeep. And for all the talk we may have over things like when D65 became āstandardā in a particular region, my LG C1, a TV less than 5 years old, is actually cooler than D93 at the default Game mode settings. According to my colorimeter, D93 is Warm 14.
New Release Version (2025-10-22-r1):
Notable changes:
Download link:
https://mega.nz/file/ZtohgIaT#WXTT0sSl-46XpluBmxtLNfeGb4ZplUi6pkjz37PR7Ps
itās better but the effect is so strong now! even with RFNOISE = ā0.000001ā it still strong in black areas
OK i reverted some things, new version is more gradual regarding luma noise.
Wonāt the color amplitude and burst levels be in the specs for the PPUs?
I have to confess that Iām still a bit confused about safe volts, lol. This is my current approach for achieving the āconsumerā look, let me know if you think it looks goodā¦
-Increase āsignal boost & safeā until yellow is noticeably desaturated. The higher you raise this parameter, the more compensatory saturation is needed, and the more āover-saturatedā the final image will be
-Optional: slight red channel boost (1.05) - some TVs did this, I guess?
-Increase NTSC Saturation (TV jungle chip chroma amp) until Yellow has regained saturation
-This will oversaturate other colors, which is what TVs did
-Optional: Saturation +10-20% (Consumer adjusted knob)
The goal is for ALL colors to be adequately saturated and for SOME colors to be somewhat oversaturated - this is what TVs did. Studies were done showing that the human eye was more sensitive to the less saturated colors than the over saturated ones (citation needed)
Also, a word on the NES - Safe volts almost never applies, the palette was chosen so as to not exceed safe voltages⦠It wasnāt really āartistic choiceā so much as technical necessity. There may be some cyans that are mildly affectedā¦?
Yeah, there was/is a RGB clamping after conversion, which is already the case in the shaders.
Some old bloomers although seemed to just allow more juice on the phosphorsā¦
But allowed voltages are specified down to the mV and there are references in Phillips docs which explicitly state safe voltages and desaturation:
āAutomatic chroma control regulates the chroma amplifier to prevent over-modulation. The chroma amplitude is limited before clipping would occur.ā
āLimiter for chroma input prevents clipping; excessive composite contrast results in automatic desaturation.ā
āā¦when luminance excursions or burst level would otherwise drive the chroma path into non-linearity, the saturation is progressively reduced maintaining colour stability.ā
So i guess itās a valid feature, i could also dig out something about downtoning the entire signal, along with luma (so did the competition). I mean color crt TVs were hot tech, which was worked on for more decades and by more groups of developers.
I think this made some colors oversaturated, but also smeared, correct?
You know whatās funny, this is what Iāve been doing in my CRT-Shader presets for years but just by going off the look and trying to balance things using whatever controls I had available. I always felt the slightly oversaturated presets looked and felt more CRT-like even though it felt like the value on the knobs might have looked too high.
My gut always told me that there was validity in the look.
As for the yellow desaturation aspect, Iāve been observing and using the floor in Vega/Balrog Stage in Street Fighter II Champion Edition, PC-Engine for a while now. I first choose a phosphor that gives me the type of Red and green that Iām looking for and many times the yellow and green in the floor might be looking pale and dull. I then crank up the saturation until Iām satisfied with how the yellow looks on the floor.
A purely artistic choice by me but in the end itās doing almost the same thing weāre now looking to do in terms of simulation. What do you think happened to the rest of the colours after the yellow balancing?
The answer, they still looked damn good!
Unfortunately after this the results of my saturation test with the yellow spotlight in the Gate of Thunder title selection screen might be broken but games still look great. So sometimes I prefer either way but I think with my current Epic Turbo-Duo shader preset the yellow in Vega/Balrog stageās floor is spot on while the yellow in the spotlight over Bonkās head shows a slightly lighter and smoothly transitioned brighter shade in the center.
ā¦and that my friends is why Iām still using an old CRT-Guest-Advanced-NTSC build from 2024 and yes, Iāve tested the new stuff as well but it feels like reinventing the wheel to get to the point where Iām already at with some presets.
Now this is no criticism of development work or to say that I donāt appreciate everything @guest.r and the community are doing but it just shows how when you give a determined person some tools, they can take them and use them in ways that the creator probably never imagined possible to create and achieve something unique and amazing.
So now weāre doing something correctly that I might have hacked and clawed my way around to get to.
Iām happy for the accuracy though because Iām mixing flawed memory with what I think looks best to me at this point which I think is fine.