CRT-Royale and crushed blacks

As much as I love this shader there’s been something bothering me a lot lately, especially on horror games.

See this example: http://abload.de/img/1452646925736c8p7t.png

Ignore the huge aperture grille - I set it like that to better show the issue. Look at that black spot in the middle. There are no triads drawn there, it’s just pitch black.

Another example showing easymode’s shader as well: Royale: http://abload.de/img/1452688961056rdoa9.png Easymode: http://i.picpar.com/1ZEb.png

Notice how royale has a bunch of extreme black spots without any scan lines or triads drawn there. Easymode, and any other crt shader, looks fine as it transitions from brighter to darker.

Is this how royale works or can I adjust anything? I already set levels_autodim_temp to 1 but that didn’t help.

EDIT:

Actually the exact same thing happens with easymode-halation

Easymode: http://i.picpar.com/KZEb.png Easymode-halation: http://i.picpar.com/JZEb.png

Turning the halation all the way down didn’t change anything

Could be an issue with srgb framebuffers not being enabled in your preset? That’s what was going on in this thread: http://libretro.com/forums/showthread.php?t=4271

EDIT: Oh, lol, that was your thread!

They are turned to “true” in easymode-halation

I managed to fix this by setting float_framebuffer0 from “false” to “true” in the first pass of the cgp (linearize.cg)

I haven’t managed to fix it in crt-royale though

EDIT:

Well I got crt-royaly looking ok by setting every float_framebuffer to “true” but now it runs extremely slow. It still doesn’t look right though

You probably don’t need all of the passes to have float framebuffers. You might try experimenting with which passes actually make a difference to preserve performance.

Well I narrowed it down to three passes

crt-royale-first-pass-linearize-crt-gamma-bob-fields.cg crt-royale-scanlines-vertical-interlacing.cg crt-royale-scanlines-horizontal-apply-mask.cg

The others don’t seem to make any difference, unless it’s a very minor one. Still, even with float framebuffers on these three passes it still doesn’t look as it should and the performance hit can be considerable at 4K with a 970. The blacks are still crushed, just not as much. Some of the detail in dark games disappears too, sadly.