Uborder shaders
New release: Uborder-v0.0.4
What’s new:
- Fix some preset bugs in packs (thanks to @Hari-82 for pointing);
- Added new transparency options;
- Content shaders pack now isn’t separated from Uborder. Uborder comes with all preset/shaders now (except presets for external packs, which are inside border’s pack);
- Added new Basement TV inside Spooky TVs in border’s pack;
- Updated ‘OrionsAngel-Overlay/Candy Cab’ presets;
What’s this?
It’s a simple and fast alternative to more complex bezel shaders like Mega Bezel or Koko-aio.
Why?
I really appreciate the features offered by Mega Bezel and, more recently, by Koko-aio shaders. Being complex shaders, they tend to require a powerful machine to run. This made me wonder if it might be possible to create something simpler that could still provide some of their impressive features, like reflections, in a fast way. As a result, I came up with this first release.
How to use?
- Update your Retroarch shaders online to get a vanilla version of uborder inside ‘shaders_slang’;
- On Retroarch, choose ‘FULL’ aspect ratio;
- Enjoy.
For now, there are three types of presets you can load:
- ambient-light-crt.slangp
- uborder.slangp
- uborder-reflections.slangp
Some compatible content-shaders:
- crt-nobody (default)
- crt-geom (get content_shaders_pack to have it.)
crt-nobody is a modified version to support interlaced signal (test psx games like SH or Tekken3 and you’ll see how it behaves). To use crt-geom, edit the main presets ‘ambient-light-crt.slangp’, ‘uborder.slangp’ or ‘uborder-reflections.slangp’, commenting the crt-nobody line and uncommenting the crt-geom line. Doing that, all presets will load the correct crt shader. I’ll probably add other known shaders in the future.
Optional: to use extra shaders and presets, download content_shaders_pack and borders_pack here: some extra packs.
One of the extra presets were made to point to Orionsangel-Original-Console pack.
To use Orion’s presets, it’s mandatory to install Orionsangel-Original-Console pack from Duimon inside ‘Mega_Bezel_Packs’ folder.
Can I prepend shaders to it?
YES! Some great shaders can be prepended to this one. I have tested ntsc-adaptive and it worked prepended out of the box! Though by doing this you’re adding a layer of complexity and may slow the results.
Can I use my own background?
YES! It’s called Uborder for a reason, it’s easy to add your own background. BTW, in this first release I’ve provided a Spooky TV preset (I’ll probably exclude it in future releases) to show how easy it is to create your preset using your backgrounds.
To add your own background, create a folder inside ‘shaders/uborder_packs’ Retroarch directory, similar to the ‘Spooky TVs’ folder. Copy the ‘Spooky.slangp’ file into your folder and rename it as desired. Within the preset file, update the BORDER texture to reference your background image. Then, run the preset and use the user parameters in Retroarch to adjust the frame and reflections to fit your image. Once done, save it as a simple preset and copy the parameters back into your preset file to ensure it loads correctly next time.
Optional packs compatibility
Presets for community packs are found inside ‘shaders/uborder_packs’ Retroarch root directory. Example from Orionsangel below:
Orionsangel-Original-Console pack: Orionsangel-Original-Console pack
Duimon-Mega-Bezel-Potato pack: Duimon-Mega-Bezel-Potato
“Hgoda90 - OrionsAngel’s Overlay + Preset Packs - Candy Cab” (Mega Bezel edition) pack: Hgoda’s thread
These Community Packs only work if they’re installed here: ‘shaders/Mega_Bezel_Packs/’
OBS: I won’t demand a new folder to install these packs. They were made to work with MegaBezel at its ‘Mega_Bezel_Packs’ folder, so, my presets will just point to them to save space.
Screenshots:
Credits to @Duimon for the awesome available overlay packs.
Credits to Orionsangel for the permission to point the presets to his overlays.
Credits to @hgoda90 for his works on Orionsangel’s Candy Cab presets for Mega Bezel.
Credits to TreyM for the default background image: https://github.com/TreyM/classic-crt-collection/tree/master/CRT
Thanks to guest.r for his g-sharp2_resamplers shaders.
Thanks to hunterk for the image border and ambilight shader codes.
Thanks to HyperspaceMadness and kokoko3k for their awesome shaders that inspired me to work on this one.
And, since the beginning, thanks to cgwg, maister and DOLLS for the original curvature code.
And to all libretro shader coders, of course!
Feedbacks are welcomed!