Uborder shaders
First release: uborder-v01
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?
- Copy zip contents to the main ‘shaders’ folder inside Retroarch;
- On Retroarch, choose ‘FULL’ aspect ratio;
- Optional: to use Orion’s presets, it’s mandatory to install Orionsangel-Original-Console pack from Duimon inside ‘Mega_Bezel_Packs’ folder.
For now, there are three types of presets you can load:
- ambient-light-crt.slangp
- uborder.slangp
- uborder-reflections.slangp
Compatible content-shaders:
- crt-nobody (default)
- crt-geom
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.
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 the ‘presets’ 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 ‘presets’ folder. Example from Orionsangel below:
Orionsangel-Original-Console pack: Orionsangel-Original-Console pack
The presets only work if the pack is 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 MegaBezelPack folder, so, my presets will just point to them to save space.
Screenshots:
Credits to @Orionsangel for the permission to point the presets to his overlays.
Credits to @TreyM for the default background image: https://github.com/TreyM/classic-crt-collection/tree/master/CRT
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!