Hyllian shaders and presets

[ERROR] [slang]: Failed to open shader file: "D:\EMU\RetroArch\shaders\shaders_slang\cubic\shaders\bicubic-x.slang".
[ERROR] [GLCore]: Failed to compile shader: "D:\EMU\RetroArch\shaders\shaders_slang\cubic\shaders\bicubic-x.slang".
[ERROR] [GLCore]: Failed to create preset: "D:\EMU\RetroArch\shaders\shaders_slang\0-hspack\1080p\aperture-grille\hyllian\crt-hyllian-pixel-art.slangp".
[ERROR] [GLCore]: Failed to create filter chain: "D:\EMU\RetroArch\shaders\shaders_slang\0-hspack\1080p\aperture-grille\hyllian\crt-hyllian-pixel-art.slangp". Falling back to stock.
1 Like

Thanks for the log! Here’s the fix: hspack-24-03-24-r2

I forgot to update some paths that changed recently on repo.

3 Likes

tried crt-hyllian-pixel-art.slangp, now it works and it looks nice and sharp! :+1:

2 Likes

New release: hspack-24-03-31-r1

  • Added nnedi3 and super-xbr presets in downsampling folder for 2x, 3x and 4x internal scalings;
  • HiRes detection optimized with new algorithm reducing from 12 to just 2 samplings;
  • Some curvature bugs fixed;
  • LUTs changed again. Now a grade-composite with deeper blacks is available;
  • slotmasks (from crt-hyllian) tweaked for better contrast.

nnedi3 with downsampling:

Resident-Evil-2-Dual-Shock-Ver-USA-Disc-2-240330-212037 Resident-Evil-2-Dual-Shock-Ver-USA-Disc-2-240330-211919 Resident-Evil-2-Dual-Shock-Ver-USA-Disc-2-240330-211850 Resident-Evil-2-Dual-Shock-Ver-USA-Disc-2-240330-211815 Resident-Evil-2-Dual-Shock-Ver-USA-Disc-2-240330-211550 Resident-Evil-2-Dual-Shock-Ver-USA-Disc-2-240330-211524 Resident-Evil-2-Dual-Shock-Ver-USA-Disc-2-240330-211432 Resident-Evil-2-Dual-Shock-Ver-USA-Disc-2-240330-211410 Resident-Evil-2-Dual-Shock-Ver-USA-Disc-2-240330-211246 Resident-Evil-2-Dual-Shock-Ver-USA-Disc-2-240330-211145 Resident-Evil-Director-s-Cut-USA-240330-204645 Resident-Evil-Director-s-Cut-USA-240330-202913

Slotmask better contrast:

megamanx-1-240330-214311

10 Likes

Great work, Hyllian! Your shaders are among a few favorites I have. Personally, I liked the new grade-composite with deeper blacks, because it doesn’t crush blacks like the default grade-composite. I’d rather use something that preserves black levels and then tweak to make things brighter, so it’s good to have this new option. Thanks!

3 Likes

Those downsampling presets combining 2D and 3D elements were named to “mixed-res” shaders and were uploaded to official repo: https://github.com/libretro/slang-shaders/tree/master/downsample/mixed-res

So, they won’t be in next versions of hspack. The repo will have latest versions of them from now on.

BTW, I just uploaded the latest advancements combining them with new bilateral shaders (from @guest.r) to get rid of compression noise artifacts present in pre-rendered psx games, mostly.

Lanczos3 now with bilateral and deblur-luma:

Resident-Evil-3-Nemesis-USA-240322-163014-240519-125123 Resident-Evil-3-Nemesis-USA-240322-163014-240519-125052 Resident-Evil-3-Nemesis-USA-240322-163014-240519-125036

Lanczos3 before:

Resident-Evil-3-Nemesis-USA-240322-163014-240519-124959 Resident-Evil-3-Nemesis-USA-240322-163014-240519-124938 Resident-Evil-3-Nemesis-USA-240322-163014-240519-124915

6 Likes

Mixed-res-crt already on slang_shaders repo.

Screens from 4x only version:

More in this album:

9 Likes

I’ve added preset hooks of mixed-res that can be used with almost any crt shader. In fact, they can be used with any shader if correct configured. I only tested with some of them. It works with most of them.

A limitation is that this downsample method won’t work with curvature/warp/interlace features.

There’s a tutorial on how to prepend/append these hooks to a crt shader.

Screens of crt-easymode-halation and crt-geom with 4xIR:

Chrono-Cross-USA-Disc-1-240604-081623 Chrono-Cross-USA-Disc-1-240604-081500

OBS: I couldn’t get it to work with some like the @guest.r’ shaders. Fortunately, it already has an amazing internal downsampling feature and don’t need it.

6 Likes

Hey, I was trying some shaders out on a 1440p monitor, and both 1080p and 4k shaders looked great to me, but I’m curious if there is any reason beyond personal preference to choose one over the other for 1440p? Thanks

1 Like

The only difference among them is the size of the mask applied. So, the mask for 4k is bigger (in pixels) than the 1080p one.

OFC, In the end, your personal taste is what matter.

1 Like

This last version of hspack got lost as the upload is no longer available

1 Like

Until next week I’m away from my laptop. But, I’ll evaluate if it’s worth putting these presets in my github account so they won’t expire so fast. They’re experimental. Some of them are on slang shaders already (mixed-res).

I have the latest zip (hspack-24-03-31-r1), I can upload it to easyupload if @hyllian agrees.

2 Likes

Absolutely, It’d be very helpful.

3 Likes

@Theoldnation here you can download the latest hspack.

4 Likes

thank you, i’ll be downloading it right now

3 Likes

Thanks.

BTW, I just put hspack into github. Latest wip can be obtained in this github repo: hspack-24-03-31-r1

  • Added hspack to github repository;
  • Downsampling folder no more exists as it was added to slang shaders repository as mixed-res shaders;
8 Likes

Hyllian, correct me if I’m wrong, but didn’t your shaders have a vertical scanlines option? I can’t find it in the newer versions. At least, I know your crt-nobody has it.

1 Like

It was conflicting with latest features, so I took it out until I find a fix for it. Do you use it?

1 Like

I do use it, but take your time. Sometimes, it’s not easy to find a satisfying solution, and hurrying it might degrade the shader’s quality. In the meantime, I’ll use crt-nobody alongside vertical-oriented games. So far, I’ve only seen guest and you implementing this feature. It’s pretty useful.