Uborder shaders

Thanks. Changes added!

1 Like

Silly idea:

Since dynamic lighting using multipasses would be expensive to run, perhaps we could use a simpler thing? For example, would it be cheaper to use something like the existing reflections, but expand/scatter and blur the shapes?

(bear in mind I have no clue about shaders beyond tweaking presets)

1 Like

What are you tring to do? Some kind of ambient light over the background?

Yeah. I was thinking it would be possible to let the “ambient light” just be some kind of highly blurred/scattered reflection over the background image, but I’m really out of my expertise here :stuck_out_tongue:

No, it won’t work properly. I’ll eventually rework the ambient light presets/shaders to get those effects.

2 Likes

Opened a new topic so I don’t spam here.

3 Likes

Next version will have an ‘append’ preset that can be used to append uborder to any ‘naked’ preset.

‘Naked’ means any preset that doesn’t present a LCD grid or a CRT mask, for those it’s really necessary a port of uborder. So, the naked presets most known are all edge-smoothing, interpolation, pixel-art-scaling, anti-aliasing, etc.

The append preset works well. I even made a silly ‘inception’ experiment, appended uborder to itself, than appended to koko-aio:

and it WORKED! LOL

Then I went too far and appended uborder to MegaBezel:

That’s enough! So, I think it’s good.

7 Likes

Better watch out for those wings Icarus! :rofl:

4 Likes

Yeah, I quit after some seconds, just to take that picture! :stuck_out_tongue:

oh wow! that means, if I understand well, that it will be possible to prepend xbr, xbrz, scalefx, smaa and similar to uborder? right?

I think I can then convert all my other presets like edge smoothing and presets for upscaled internal resolution! :nerd_face:

can’t wait to try!

since few days uborder+guest replaced most of my default shaders, with this it will be a total replacement.

2 Likes

I just made the commit, you can try. I just didn’t made a release, though. The append preset is inside the main uborder folder.

You have two ways of using it:

  1. load some ‘naked’ preset, then choose ‘append’ to load the append-uborder preset.

OR

  1. load the append-uborder preset, then choose ‘prepend’ to load a ‘naked’ preset.

Some may fail, yes, I couldn’t test every possible combination.

It works with crt or lcd presets, but the result isn’t useful because the mask and grids get borked, so I only recommend for ‘naked’ presets.

Won’t work if there’s a mask or grid in the result. The append preset I made doesn’t have any crt, it’s just a stock uborder.

2 Likes

ok, I’m a little confused maybe (probably) didn’t understand well…

but this is working:

this is my aperture a

this is the same but with scalefx predended

:nerd_face:

2 Likes

Haha, that’s what was already working. It’s another method.

What you couldn’t get before was the pure scalefx. Now with the append-uborder preset, it’s possible.

1 Like

Don’t be giving me any ideas Hyllian.

2 Likes

Ambient-light is getting an upgrade soon:

10 Likes

Holy smokes! I’m so combining that with Lights Off

3 Likes

Awesome stuff fella :star_struck: :star_struck: :star_struck:

Are you planning on masking areas? at least for systems where the overlay doesn’t change?

1 Like

I don’t follow you. What you mean?

1 Like

For example the light coming from the screen (in real life) might not hit all areas shown.

1 Like

Nope. It’ll hit all areas, except the content frame. It isn’t so smart as you may think. Again, I’ve priorized speed in this case too.

It won’t be incorporated to the main presets. It’ll be a side folder that adds this functionality and is called by other presets. So if you don’t need this thing, you should use the standard presets, which are faster.

3 Likes