CRT scanline jitter parameter

Hello. I’ve noticed that MAME has a very nice shader implementation for improving the “arcade feeling” on the screen. One of the parameters that caught my attention is “scanline jitter”, which makes scanlines much more dynamic, like a home TV set! It really makes a difference, in my opinion. Is there any CRT shader in RA that has a similar parameter? could it be implemented?

No, none of our shaders have it. I’ve never used MAME’s HLSL to know what it even does, but I assume it’s possible to reproduce.

I may see about porting the HLSL shaders altogether if I have some time soon.

That would be great! Looking forward to it.

[QUOTE=hunterk;27178]No, none of our shaders have it. I’ve never used MAME’s HLSL to know what it even does, but I assume it’s possible to reproduce.

I may see about porting the HLSL shaders altogether if I have some time soon.[/QUOTE]

It does what the naming states… jittering… it is a nice effect if you use low values. It creates jittering on randomly choosen scanlines, like old crt tubes with a kind of “defect”. I like it, because it creates more “life” on the final image. I wish you success with the HLSL porting and if you need any help feel free to PM me, as i am in close contact with Jezze, the creator of the huge improvements in HLSL since v0163. You helped me so much and this is the least i can offer you.

greets, u-man

Yeah hlsl would be a great feature.

Yeah the effect was very common on large (28" +) budget consumer TVs and also older well used arcade displays. Where the budget TVs are concerned it was down to not enough voltage from the fly back (or poorly calibrated) to compensate for the large tube size and for arcade monitors it was down to failing components

I think it’s certainly a good idea to make the raster dynamic in a shader, rather than static.

A few years ago I played around with simulating the effect in which the image expands when the overall brightness is higher. This is very common, and is caused by an imperfect power supply. It seems that this was called “blooming”, which could lead to some confusion — perhaps we should call it “raster blooming”.

The key input for this is the average over all pixels. For my old tests, I used a series of shaders that reduced the size of the frame until it was down to one pixel. Perhaps this could be done better using mipmapping.

Oh yeah, good idea. I’ve never used RetroArch’s mipmapping support for anything (so I can’t explain how to do anything with it, unfortunately), but it was added back when trogglemonkey was working on crt-royale.

[QUOTE=jurgensen;27174]Hello. I’ve noticed that MAME has a very nice shader implementation for improving the “arcade feeling” on the screen. One of the parameters that caught my attention is “scanline jitter”, which makes scanlines much more dynamic, like a home TV set! It really makes a difference, in my opinion. Is there any CRT shader in RA that has a similar parameter? could it be implemented?[/QUOTE]

I always would have this effect on other emulators like epsxe retroach pcsx2, nul DC, with the sliders in MAME i just put 0.15 scanline jitter + few saturation + the good height between the scanlines and we are more close of a CRT render monitor on LCD, sure i prefer on CRT but this an awesome effect