Uborder shaders

Hey, great shots @sonkun! And, feel free to post wherever you like. The pack is yours. Thank you for dedicating some time tweaking even more your presets.

3 Likes

Sonkun Shaders + uborder is truly a wonderful collaboration: it’s great to see new projects grow through hard work, positive collaboration and sharing with others. Thanks for your work guys !

4 Likes

I get the following error:

[INFO] [slang]: Compiling shader: "/var/games/emu/retroarch/shaders/shaders_slang/crt/shaders/guest/hd/crt-guest-advanced-hd-pass1.slang".
[ERROR] [Vulkan]: Duplicate parameters found for "internal_res", but arguments do not match.
[ERROR] [Vulkan]: Failed to create preset: 
"/var/games/emu/retroarch/shaders/shaders_slang/sonkun-uborder/aperture-grille/flat-screen/1080p/01-1080p-crt-guest-advanced-hd-aperture-grille-u-normal-rf.slangp".
1 Like

See if your crt-guest-advanced is the latest released in his thread. Sonkun’ shaders always demand the latest guest. Do not use update online in this case.

2 Likes

Thank you, that fixed it

2 Likes

I appreciate it and you’re welcome. Thank you as well for porting my presets over, I think this collaboration came out pretty clean for the most part.

I’ll share with everyone some information I talked with you in private about. So while Hyllian took the time to port my presets over to uborder I noticed that the mask looked a bit “bulky” looking on the smaller screen from doing a 1 to 1 translation over so I went into the lab and thought a simple scale down of the crt masks (lowering the “crt mask zoom” parameter setting) would do the trick.

While it indeed scaled the mask down to properly fit the smaller screen better I noticed right away the “vividness” of the colors got stripped away. I assumed since I mainly use mask 6 and 10 for my presets that somehow shrinking the “RGB” subpixels down so small was possibly the reason for it so I had to get creative.

I switched all presets over to mask 9 as I noticed simply switching to that mask brought the “vividness” of the colors back, I also had to reduce both light and dark “Slot Mask Strength” settings from 1.00 to .50 for Slot Mask presets to gain color back as well. @guest.r mask 9 literally saved my life lol, first time ever using that mask. I don’t think it’s a “RGB” mask but it works for scaling down crt masks for “smaller screens” indeed.

All in all this was a fun side project and I hope you guys enjoy it. In the event I update my presets with new settings I’ll also update the uborder presets as well to keep everything new, up to date and fresh.

3 Likes

Thank you for your work. This is the first time I try your shaders, and even if my hardware isn’t beefy enough to run them well I think they look really good.

1 Like

I appreciate it. Here’s hoping to more collaborations like this in the future. On a side note I also wonder if these new mask settings would look good on a 720p display like the Switch.

2 Likes

If someone can get it working on Switch, that would be awesome.

1 Like

Would be indeed, I would probably go ahead and just add 720p presets to my regular preset pack with those settings. Maybe someone with a Switch can test them out and post some pics, if I had a Switch then I would try to fine-tune some custom 720p styled presets the best way I can.

I have a Switch and I tried it at the time but the presets wouldn’t load. I’ll try again.

1 Like

Still can’t load presets, retroarch closes

2 Likes

Try grabbing the latest guest.r shader update from his thread, seems someone above had a similar issue and they worked once they updated the guest.r shaders. Have to manually install them and not update them through RetroArch.

Ok that’s a different issue. Can the Switch use the vulkan or glcore driver? Not sure if that’s the issue but just asking.

Switch has no slang support, only uses glsl

2 Likes

I don’t know which resources the Switch port can’t handle.

Maybe the number of registers available for global vars? (uborder uses a lot).

Never knew this. I figured since it used similar components as the Shield TV that it would be “slang proof” ready. Can’t use glcore either? That driver let’s you use slang shaders as well.

New release: uborder-v0.0.9

  • Add support for vector games;
  • New base preset to be used with vector games;
  • Fix a bug that happen on glcore;
  • Fix a bug in newpixie-crt.
  • Change how backdrop transparency is composed with content.

8 Likes

Nice job!

Is that border from Boz?

2 Likes

Ooooo great update! I’ll get on space invaders and asteroids tomorrow :slight_smile:

I’ll do Starwars and Donkey Kong if tilt parameters are added also

2 Likes

@sonkun i tried your version but i get this error [ERROR] [Vulkan]: Failed to load LUT “/home/user/.var/app/org.libretro.RetroArch/config/retroarch/shaders/uborder_packs/crt/shaders/guest/advanced/lut/trinitron-lut.png”. [ERROR] [Vulkan]: Failed to create preset: “/home/user/.var/app/org.libretro.RetroArch/config/retroarch/shaders/uborder_packs/sonkun-uborder/aperture-grille/flat-screen/1080p/37-1080p-crt-guest-advanced-hd-aperture-grille-pal-warm-composite.slangp”. [ERROR] [Vulkan]: Failed to create filter chain: “/home/user/.var/app/org.libretro.RetroArch/config/retroarch/shaders/uborder_packs/sonkun-uborder/aperture-grille/flat-screen/1080p/37-1080p-crt-guest-advanced-hd-aperture-grille-pal-warm-composite.slangp”. Falling back to stock. [ERROR] [Vulkan]: Failed to load LUT “/home/userd/.var/app/org.libretro.RetroArch/config/retroarch/shaders/uborder_packs/crt/shaders/guest/advanced/lut/trinitron-lut.png”. [ERROR] [Vulkan]: Failed to create preset: “/home/user/.var/app/org.libretro.RetroArch/config/retroarch/shaders/uborder_packs/sonkun-uborder/aperture-grille/flat-screen/1080p/40-1080p-crt-guest-advanced-hd-aperture-grille-pal-warm-rgb.slangp”. [ERROR] [Vulkan]: Failed to create filter chain: “/home/user/.var/app/org.libretro.RetroArch/config/retroarch/shaders/uborder_packs/sonkun-uborder/aperture-grille/flat-screen/1080p/40-1080p-crt-guest-advanced-hd-aperture-grille-pal-warm-rgb.slangp”. Falling back to stock. [ERROR] [Vulkan]: Failed to load LUT “/home/user/.var/app/org.libretro.RetroArch/config/retroarch/shaders/uborder_packs/bezel/uborder/textures/borders/default.jpg”. [ERROR] [Vulkan]: Failed to create preset: “/home/user/.var/app/org.libretro.RetroArch/config/retroarch/shaders/uborder_packs/sonkun-uborder/aperture-grille/flat-screen/1080p/37-1080p-crt-guest-advanced-hd-aperture-grille-pal-warm-composite.slangp”. [ERROR] [Vulkan]: Failed to create filter chain: “/home/user/.var/app/org.libretro.RetroArch/config/retroarch/shaders/uborder_packs/sonkun-uborder/aperture-grille/flat-screen/1080p/37-1080p-crt-guest-advanced-hd-aperture-grille-pal-warm-composite.slangp”. Falling back to stock.

1 Like