Handheld Border Shaders

Is there a way to make it work with 640x480 resolution? Trying to play around with the params and scale but to no avail. It looks blurry on a small Anbernic device.

I think 640x480 might be too low a resolution to be able to represent any LCD effect convincingly. For example, for a GameBoy game, you would need to use a 3x scale, which is not enough for the dot effect.

At that resolution, I think what I would do is just pick an integer scale level and use the borders by themselves without any LCD shaders.

Hi All!

I created a 16X9 1080P overlay with 4X3 cutted area screen, for Game Boy and would like to use it with Game Boy Console Border preset shader. Does anyone know what parameters I should insert in a preset so that I can create measurements and screen position myself, instead of pre-established values?

You can replace the border files with your overlay and then adjust the Border Scale parameter accordingly to suit the size of your overlay.

But mind you that he Game Boy screen is 10:9 and not 4:3.

1 Like

After upgrading from 1.9.14 to 1.15, all GBC border shaders stopped working - they are not scaling the image. Meanwhile all GB borders are still working well.

Ah, I was using old -x7 version, while now there is only one version

1 Like

@Tatsuya79 Your GBC preset has the BGR mode enabled. Is that on purpose or a mistake?
I was under the impression the GBC screen is RGB and not BGR.

Hi. I would like to know if it is possible to add shaders to a PS Vita 1000. I just want to put Gameboy DMG original green Screen as I do on PC. On PC is perfect but I would like to use my Vita and have the Handheld experience. I heard something about “pig in a blanket”, some kind of method RA mod that can make it happen. I am very lost at this point and I need some help. I try the same on my Wii U and it works but the screen is too small and I can fit it to the Wii U pad.

Could you help me please?

Not sure if that is achievable. The PSP does not have enough resolution to simulate a GB dot matrix.

The GB screen is 144 pixels tall, and needs at the very least 2 pixels to represent the grid, and that’s going to look horrible. Ideally you need about 4 pixels to get a somewhat decent result.
The PSP is only 272 pixels tall, so it doesn’t even fulfill the requirement of 2 pixels per GB pixel.

EDIT: My bad, you were talking about the Vita, not the PSP.
Well, the Vita is 544 pixels tall, so it might achieve the grid effect a little bit, but don’t expect it to look very good.

1 Like

May I ask where can I obtain the blue borders for gameboy pocket and game boy advancements?

You can find them here:

Mind you they have the glass reflection effect over them.
I’m working on a way to enable/disable this glass reflection through a shader parameter.

2 Likes

Thank you very much !

1 Like

Added border brightness parameter from nfp0 on github:

This adds a simple feature to be able to darken the border.

It might be particularly useful for OLED users worried about burn-in, or users who think the border is too distracting at full brightness.

2 Likes

Thank you so much. By the way, are you interested in making one for 3ds?

Update:

Added “glow” version of LCD shaders using Dual Filter Blur & Bloom by fishku.

The quality of the glow effect is high and it’s also resource heavy, a decent GPU is recommended.

7 Likes

I also added a couple of CRT ntsc glow shaders to the libretro repository.
You can find them by updating the slang shaders in your Retroarch installation, they are in shaders_slang\presets\crt-ntsc-sharp.

It looks like this:

Gleylancer on Megadrive using svideo-ntsc_x4-glow.slangp, this one is able to merge the dithering patterns.

10 Likes

Not sure if this is a problem with my rig/config and is not the biggest deal but I find the banding effect in the reflection a little off putting (also present in dmg, gba and gg):

Would it be possible to remove the banding in the reflection (or the reflection altogether) from console border’s shaders present in retroarch normal repo ?

I’ve got my new version without the reflection in this thread, I’m not maintaining the ones on the official github as they don’t want them to get too big there.

1 Like

Why don’t you try to make a merge request to replace it, maybe they willl accept it.

@Tatsuya79 I replaced the png files with the new ones and had to set border_texture_scale = “2.000000”, no more banding and the borders are looking great! :+1:

@kokoko3k I checked again but your gbc preset are not yet present in the public repo, right?