Uborder shaders

Integer scaling with curvature on flat displays is a myth, as you already know! :grin:

2 Likes

Why? You can just generate the new frame over the old one.

If the shader were able to separate horizontal CRT from vertical CRT (TATE) games, it could be autogenerated using those bezels. Besides aspect ratio, only the [namefile].png changes, so only two preset files are needed. One for vertical and one for horizontal. I´m pretty sure you are familiarized with @ArsInvictus job in Vertical Overlays for example.

1 Like

That’s the problem. There are thousands of overlays inside retropie’s arcade pack. Each of them has its own bezel. They don’t follow a pattern, the sizes are random. You’d need to manually adjust the generated bezel over the overlay own bezels.

1 Like

You sure? I believed all overlays from this repository has the same two sizes for all the bezels, one for horizontals and one for verticals.

Nope. The realistic is very random on bezels sizes. OTOH, the artwork repo uses only two sizes.

1 Like

Sure! I was referring to the Artwork repo only. Thing is if Uborder is able to distinguish between vertical and horizontal as HSM-MB does. Sorry if my question is stupid, or it has been answered before.

that is surely true! but without curvature…

both are uborder presets :nerd_face:

3 Likes

For the artwork, it’s easy to do.

BTW, I’m releasing a beta now, as I’d like a feedback if possible. I’ve managed to use just one shader: Uborder-bezel-reflections-beta3.

It uses only crt-nobody for now. I’ve included an overlay just for tests. I’m still fixing some params that got broken.

This is a very distinct implementation from the old non-bezel one.

2 Likes

the zip is not working on my side

1 Like

Sorry, try this one: Uborder-bezel-reflections-beta3.

2 Likes

just tried and it looks amazing and the “embedded” bezel is a great addition!

Just couple of things:

  • curvature toggle might be broken
  • ambient light and content shine are great but might be a little less “sharp” (?): hard to explain :sweat_smile:
2 Likes

Yes, I still need to fix that.

It probably degrades contrast, because it adds “light” over the “screen”. BTW, I have to rename that ambient light, because it isn’t the same as ambilight we know.

Another thing, the bezels size controls may be a little cranky. Iwasn’t sure if i’d let them loose or limited by the neighbors. Now they’re limited. So, for example, to decrease the inner bezel you have to decrease content size first, because it is the minimum possible size of the inner bezel.

The bezel color can be edited inside the shader. I’m not sure if it should be a user param.

Try to turn the lights out param, too.

2 Likes

if it’s not a big hassle could be useful to have control over the bezel color (I use that in my last update with megabezel to match somehow the background).

For ambient and content shine maybe would be good to have some sort of control over “size” and “intensity” with 2 different values?

Lights out is a little confusing it disable content shine but maybe it affect the bezel too much?

2 Likes

Try this beta2. It address the bezel color sugestion. Curvature can be disabled and try lights out again, now it’ll do what’s supposed to.

Uborder-bezel-reflections-beta3

2 Likes

Lights out looks very good and now makes sense! :+1:

Content shine (3rd shot) looks nice, maybe a little too strong? when reducing the value its shrink but the intensity don’t change much.

Ambient light (2nd shot, also first with lights off) have the lines a little too evident; would it be too resource intensive to blur it more?

2 Likes

Indeed, I need to modulate better these features and create controls for intensity and size separately.

Do you think ambient should be off when lights out?

And about speed, how are the fps in your device?

2 Likes

I don’t think so, it’s fine to have the option to manually change it!

It feels fine here, doing 250-270 on mesen. (i5 6400)

do you want me to check some specific core/game?

2 Likes

Interesting, I get 420-430 fps on a Ryzen 5 + amd vega 7 on Mesen. Depending on core, results vary a lot.

No need for further speed tests, thanks.

2 Likes

I’ve been trying it out and it seems great, good job. What I would like is that it does not automatically adjust the background image (border) In my case I use a 21:9 image but my monitor is 16:9 and it makes the image look shrunken

1 Like

Example

Window Mode

1 Like