Uborder shaders

Or maybe get clever and have some special backgrounds with duplicated elements which are hidden behind the screen at certain aspect ratios but reveal themselves at others.

I dunno if anything like this is possible, just thinking out loud.

1 Like

New release: Uborder v0.0.5

  • Added new flavor to Uborder: uborder-bezel-reflections.
  • It builds its own bezel for reflections;
  • It’s just one fast shader, easier to configure.
  • Added retropie-overlays-arcade-artwork presets that automatically and seamlessly load overlays (horizontal or vertical) based on arcade game names.

OBS: Old flavors still are there. In some use cases it’s better not using bezels or even reflections.

Random pictures from my tests:

mvsc-250110-194007 04-Sonic-The-Hedgehog-USA-Europe-250110-190148 mvsc-250110-081432 03-Super-Metroid-Japan-USA-En-Ja-250109-195840 mvsc-250109-185246

Some pictures from the arcade games using the auto preset:

dkong-250111-195434 centiped-250111-195206 centiped-250111-195141 ddsom-250111-195057 ddsom-250111-195040 ddsom-250111-194746 pacman-250111-194733

7 Likes

I just ported and added to my glsl fork the standalone version of uborder: uborder-bezel-reflections in glsl

I’d like feedback on how it run on old devices. It was tested only on my laptop and it worked.

2 Likes

Would it work for N. Switch?

If it run glsl, then it might work. Can you test and tell me?

On Switch you can use glsl but when selecting the presets, RetroArch crashes

1 Like

Maybe it doesn’t support reference inside preset. Does it crash if you load the direct preset inside base_presets folder?

That’s right, I tried it directly and the same thing happens. As a note, the Switch uses the GL driver

1 Like

Hmm. I’ll need to investigate further. Maybe my idea of using global vars isn’t so compatible as I’d thought. Or else the Switch doesn’t support gl Version 1.20?

I wouldn’t know the compatibility or support of the GL version on Switch

Wow… I liked the integration of retropie-overlays-arcade-artwork. Do you know what settings I should make to remove those circles?

1 Like

Turn OFF the Ambient light inside user params. Some people are more sensible than others to these quantizations. I only see that by zooming the picture. (I’ll see if float_framebuffer or srgb_framebuffer can fix that).

BTW, there are three lighting params you can turn OFF or ON: LIGHTS, SHINE and AMBIENT. And, for the last two, you can control intensity and size.

And about the retropie’s artworks. Are you loading using the auto preset? It rotates the game seamlessly (for this, your Core Option Vertical Mode should be turned off). Then, overriding the core, voilá, it loads the artwork automatically by loading a game. Better yet, it loads blazing fast. I’d like to integrate it with other great packs out there, it’s just that I don’t have much time to dedicate to it.

I wish Retroarch had a shortcut like M and N to load through the games in a folder the same way you can load the presets in a directory.

This is coming along nicely!! Keep up the great work!

1 Like

Thanks, I’m making the necessary adjustments there. I like these LIGHTS, SHINE and AMBIENT options But I wouldn’t like them to affect the game screen or not at all, for example AMBIENT I would like it to also apply to the BORDER So in the game it doesn’t affect it but for example in the explosions it is affected by the ambient lights the BORDER (Artwork/background)

It adapts without problems to vertical games, having the option turned off in the core (FBNeo)

1 Like

Oh, you’re talking about dinamic lights. It’s an interesting idea, though it needs a completely new implementation. I’ll put it on future improvements TODO list.

1 Like

Changing Vertical Mode to ON in Core Options it’s easy to make presets for vertical overlays.

mslugx-250114-135506

Added some shaders to work with bezel-reflections flavor:

  • crt-guest-advanced;
  • crt-guest-advanced-hd;
  • crt-guest-advanced-ntsc;
  • dot (for handhelds);
  • lcd-grid-v2 (for handhelds);

Testing @sonkun inside a kidocolor:

ssf2t-250115-194535 ssf2t-250115-194523 ssf2t-250115-194455

Unfortunately, my display is too small (1080p) for these presets.

5 Likes

Nice. I showed up today right on time to see all these new developments going on left and right. Still haven’t played with Pants experiments in my thread as well. Lots to of new goodies to play with.

2 Likes

Now I can answer better: Yes.

I’ll expand the frame options for scaling. Though, by enabling integer scaling, some zoom/scaling params stop working (as intended by integer scaling). It’ll only work properly for games that doesn’t change resolution, otherwise it’ll be changing its size dinamically.

Using integer scaling (vertically only):

00024-250118-190521 00024-250118-190256

3 Likes

this is a great news, can’t wait to try it!

yeah, but a good number of systems don’t change resolution so this means that many system will benefit for this!