Hyllian shaders and presets

Hi, this is a very old version of crt-hyllian, BTW. I’d like to reproduce that blur you mention, but couldn’t do it without details about how are you using this shader. Can you provide a step-by-step way to reproduce that blur and show some screenshot showing this explicitly?

If you’re not following latest updates on slang repo, I made a big update on crt-royale-fast shaders and presets: https://github.com/libretro/slang-shaders/commit/0a305b879eec074f9d620282293844c7a878fb60

  • Toned down Gamma and Brightness compared to default Royale;
  • Deconvergence is back. Figured out that using vertical subpixels deconvergence mitigates uneven scanlines in non-integer vertical scaling. Works great at 1080p!
  • Added geom’s curvature;
  • Updated crt-royale-fast (inside crt folder);
  • Updated crt-royale-ntsc-composite-fast (presets folder);
  • Added new presets: crt-royale-pvm, crt-royale-pvm-shmup, crt-royale-pvm-blend, crt-royale-pvm-ntsc-composite (presets folder).

crt-royale-pvm:

Castlevania-Symphony-of-the-Night-USA-240906-183741 Castlevania-Symphony-of-the-Night-USA-240906-183547 Castlevania-Symphony-of-the-Night-USA-240906-183439 Castlevania-Symphony-of-the-Night-USA-240906-183430 Castlevania-Symphony-of-the-Night-USA-240906-183347 01-Super-Mario-Bros-3-USA-240906-072328 sfau-240906-072246 sfau-240906-072047 sfau-240906-071922 sfa2u-240905-185051

crt-royale-fast:

Castlevania-Symphony-of-the-Night-USA-240906-183748 Castlevania-Symphony-of-the-Night-USA-240906-183337 Castlevania-Symphony-of-the-Night-USA-240906-183224 35-Castle-of-Illusion-Starring-Mickey-Mouse-USA-Europe-240905-201956 01-Super-Mario-Bros-3-USA-240905-135310

crt-royale-pvm-shmup (using integer scaling and 4:3 aspect ratio):

dfkbl-240906-163015 futaribl-240906-162114 ddpdfk-240906-120639 ddonpach-240906-112819

7 Likes

Made a small update to get even better scanlines at non-integer scalings: https://github.com/libretro/slang-shaders/pull/633

003538-240908-150233 003538-240908-150222 003538-240908-150144 03-Super-Metroid-Japan-USA-En-Ja-240908-110035 003538-240908-082756

They’re called pvm for a reason. Can you spot extreme scanline thickness variation in these screens? And the mask popping in red regions?

00024-240909-080146 00024-240909-080246 00024-240909-080253 00024-240909-080318 00024-240909-080607 00024-240909-080629 00024-240909-080639 00024-240909-080717 00024-240909-080947 00024-240909-080959 00024-240909-081055 00024-240909-081636 00024-240909-081718 00024-240909-081810 00024-240909-081924 00024-240909-082256 00024-240909-082417

If you didn’t notice, those snaps were taken at a non-integer scaling (1080p), and yet, the scanlines don’t look uneven. It’s very rare to notice any uneveness with this preset.

10 Likes

update via retroarch?

1 Like

By Retroarch as soon as the PR is accepted. If you’re in a hurry, you may just copy the modified files from my fork as indicated in the PR.

3 Likes

Thanks for the updates, bud.

Do the NTSC composite presets actually have the last update from guest.r by the way ? Assuming these presets are using the code from him for the rainbows

Lately, guest.r could fix an unsuspected bug with the rainbow not being shown up properly. Suspicion is about a relatively recent update on ntsc-adaptive. But could be wrong. Still, he fixed it up just recently.

2 Likes

Yes, those presets use the ntsc-adaptive with three passes, so if you update them most certainly that bug will be fixed.

they’re updated already. The fix works on CRT guest NTSC preset but it not worked on your crt ntsc pvm composite or the crt royal composite presets

Ok, i didn’t test, so suppose I’ll have to update some var name or other things. Tomorrow I’ll look what has changed.

1 Like

have a good night and thanks for your presets!

1 Like

Nice! BTW, I just updated my shaders RA 1.19.1 and then downloaded and copied latest guest’ shaders (because repo isn’t updated yet). And all worked as expected.

Some screens:

001066-240909-072945 001066-240909-073008 001066-240909-073045 001066-240909-073055 001066-240909-073139 001066-240909-073535 001066-240909-073635 001066-240909-073928

Obviously, those strong rainbow only appear on stills. When the frames are updated, They give a nice stroboscopic effect that looks like the screen is blinking.

4 Likes

great job I solved my problem

2 Likes

CRT-Guest-Advanced-NTSC’s NTSC component is not identical to NTSC Adaptive. It was proposed to replace it but the NTSC Adaptive was updated in a different way instead, only taking some of what had been updated in CRT-Guest-Advanced-NTSC while leaving other aspects intact most likely for compatibility reasons.

2 Likes

Yeah, I know. And the two ntsc presets I posted (crt-royale-ntsc-composite-fast and crt-royale-pvm-ntsc-composite), both point to guest’s ntsc folder. So, if you update your guest’s folders, those presets will point to the correct shaders.

I mean, if the fixes are all contained in those three ntsc passes. Otherwise, then no.

1 Like

The problem with this method is that after you’ve perfected and are satisfied with the look of your shader preset, it is only one update or major change away from at best not looking as intended and at worse looking completely broken.

Both @Azurfel and myself have subsequently resorted to copying whatever version of the CRT-Guest-Advanced-NTSC shader was used for preset development into its own dedicated folder in Slang_Shaders where Online Updates won’t mess with it.

2 Likes

I understand it may be the case. But for what I’m pointing, I doubt it’ll have a big change in the future to compromise ntsc visual. Even if that happen someday, I’ll just point to the default ntsc-adaptive folder as I think the differences are negligible in most cases.

2 Likes

If you didn’t see the first screenshots in other thread, this is an update. I’m working on cleaning royale-fast’ slotmask and turning it into BGR. The first version was a bit too green. Now I fixed the green bias and intend to insert this option as a new mask at crt-royale-fast (I won’t change default royale):

003538-240914-090355 003538-240914-090349 003538-240914-090307 003538-240914-090258 003538-240914-090214 003538-240914-090209 00024-240914-085816 00024-240914-085233 msh-240914-082753 msh-240914-082708 01-Sonic-The-Hedgehog-2-World-Rev-A-240914-082604 01-Alex-Kidd-in-Miracle-World-240914-082452

4 Likes

Ok, at last, It’s now available through the repo: https://github.com/libretro/slang-shaders/tree/master/presets/crt-royale-fast

I made a bunch of shaders, for 1080p and 4k. Those ntsc-composite are made to work with @guest.r’s ntsc-adaptive 3-passes shaders. So, I suggest that you update them too, just download the latest from guest’s thread and update them.

I recommend you to update through update online, because LUTs are udpated too.

Genesis has two composite presets, one for rainbow effect and other for regular effects (works with sega master system too). Composite for psx can be used for Saturn games too. Artifacts/Fringing quality decreases in this order: psx > snes > genesis > genesis-rainbow-effect.

Screenshots, mostly using composite-slotmask (my favorite now): 00024-240918-095520 00024-240918-094942 00024-240918-094900 legzelda3-1-240918-092043 demonscrest-1-240918-091718 02-Chrono-Trigger-USA-240918-082544 002-240917-184212 Mega-Man-X5-USA-240916-104338 Castlevania-Symphony-of-the-Night-USA

Sega Master System using genesis preset:

31-Zillion-240921-131931 31-Zillion-240921-131928 31-Zillion-240921-131924 31-Zillion-240921-131911 01-Alex-Kidd-in-Miracle-World-240921-131840 27-Kenseiden-240921-131759 27-Kenseiden-240921-131735 27-Kenseiden-240921-131723 27-Kenseiden-240921-131717

10 Likes

really great work I also love the slotmask it’s really cool

4 Likes

Did you integrate with koko-aio or other?