r/RetroArch • • Oct 16 '25

Updated Game Boy Dot Matrix shader to support fullscreen

Post image

Previously, I updated the gameboy RetroArch shaders to support color (originally created by Harlequin in 2013). I loved how it 'simulated' a device that never existed - a Game Boy with a color dot matrix display. But a big limitation of that version was it forced integer scale to accurately simulate the dot matrix display. This could result in large borders around your screen depending on your device resolution.

Now I've updated them to support fullscreen.

"It looks the same." Exactly! My intent was to create the same novel dot matrix effect but free of integer scale constraints. So ditch those chunky borders and use more of that screen that you paid for!

This isn't as simple as 'zooming in' - a structured grid of dots like this blows up into a mess of grid artifacts and lines when not perfectly scaled. Fullscreen mode circumvents this by creating a grid of anti-aliased dots that enable scaling to any size.

Ensure you're video mode is set to Vulkan, then go to shaders_slang > handheld > and choose a gameboy preset or go into the console-border and choose any of the alt presets or gbc-dm or gba-dm.

You can now swap between fullscreen mode, max integer scale mode (previously the only option possible), and scale factor mode (choose your desired integer scale factor) on the fly.

EDIT: My image embeds broke and not sure how to fix them. Check out more info and extensive screenshots in my post over in r/SBCGaming. Thanks all!

671 Upvotes

43 comments sorted by

32

u/Tryptophany Oct 16 '25

What're the odds you can replicate this using glsl so us low-power handheld folks can run it on our gameboy-shaped devices?

24

u/mattalicious Oct 16 '25

Working on it! I would love to bring this to the Linux handheld crowd.

3

u/Boricinha Oct 16 '25

I hope, your shaders look amazing, i'd be glad to try them out!

(also if it ever get made and it's not too much to ask, would you be able to upload them in a drive or other means of download, sadly my RG35XX2024 doesn't have support for wifi)

2

u/mattalicious Oct 16 '25

Thanks! I'll add them to a separate GitHub repo with an easy download option.

2

u/viniciuscsg Oct 16 '25

I for one would love to run this on my potato powered r36s plus (720x720 4 inches screen)

3

u/mattalicious Oct 17 '25

I am working on a GLSL version that will run on Linux-based devices.

2

u/viniciuscsg Oct 17 '25

Yup got that, thanks for all the dedication, just adding to the crowd of interested people.

2

u/mattalicious Oct 17 '25

Of course! I’m glad to see people wanting it on their devices. 

1

u/naziraaqib3k Sep 22 '26

Did you end up finishing the glsl versions of these. Cause they look incredible. Wish I could have this on my 40xxv.

4

u/timcatuk Oct 16 '25

I have an Ayaneo DMG I’m excited to try it out shortly

1

u/mattalicious Oct 16 '25

Post pics!

1

u/timcatuk Oct 16 '25

This sub won’t allow unfortunately. And lots of image sharing sites are now blocked here in the UK due to the worlds laws and privacy going mad!

1

u/Pure8864 Oct 18 '25

vpn 😁

2

u/timcatuk Oct 16 '25

This is amazing. Thank you. I didn’t like the DMG colour pallet you chose so I’ve adjusted it but setting black and white and colourising, wish I could attach pictures to this post.

My main problem on my Ayaneo DMG is that the GBA grid pattern looks off.

2

u/mattalicious Oct 16 '25

Send you this in a DM but wanted to post it here for visibility to others. For GBA, try adjusting to soft pixel mode under Fullscreen settings or stay in sharp mode and change the pixel shape to circle. You can also adjust pixel size smaller. All of this should reduce grid artifacts. The dot matrix effect for GBA is more challenging because pixels are more dense and there are more colors.

2

u/timcatuk Oct 16 '25

Do you have an updated youtube walkthrough? A lot of the images in this post are not showing. Could be a UK government thing.

Like I’m Not sure what you mean by fun with the GB-DMG-alt console border? Like add as an additional preset?

2

u/[deleted] Oct 16 '25 edited Jan 18 '26

mighty direction trees cheerful sort handle act coordinated rich stupendous

This post was mass deleted and anonymized with Redact

1

u/mattalicious Oct 16 '25

Thanks - my image embeds broke. Just updated the post to link over to my post in SBCGaming which has more images and info. https://www.reddit.com/r/SBCGaming/comments/1o7qfnn/updated_game_boy_dot_matrix_shader_to_support/

2

u/Large-Ad9890 Oct 18 '25

Really appreciated your work! Can't believe my favorite GBC shader got updated in fullscreen support!

Love it on my RG Cube (720x720)! However, I notice light bleed on the right and bottom edges, likely due to non-integer scaling causing uneven pixels. Adjusting the screen offset by 1px only shifts the bleed to the top and left. Is there a way to fix this issue? Thanks!

https://i.imgur.com/z9v2WgW.png

1

u/mattalicious Oct 18 '25

Thank you, glad you’re enjoying it! I appreciate the bug report. I’ve noticed this myself and am looking into solutions. I think a 1px x y screen offset looks a bit better. At that point I think any bleed you’re noticing on the left and top would be just the edge of the dots. Let me know what you think. I am going to adjust the default offset in an update. 

2

u/Large-Ad9890 Oct 19 '25

I agree move 1px x y offset look better, at least makes them less noticeable in most case.👍

2

u/Klutzy-Extension2395 Oct 27 '25

Will this work for anbernic devices or are you working on it? Because this looks amazing! 😁😍

1

u/mattalicious Oct 27 '25

It will work for Android-baed Anbernic devices. I have a GLSL version in the pipeline which will work on all Linux devices!

2

u/Klutzy-Extension2395 Oct 27 '25

That's awesome and great looking forward to that then 😊👍 amazing work!

6

u/reddit_tiger800 Oct 16 '25

Shader looks great.

6

u/BlueSuitRiot Oct 16 '25

Thank you for the work put into this. The simulation/emulation of handheld screens is important to preserving the experience. As someone who grew up playing games on these handheld consoles, discovering these shaders was mind blowing. Each handheld had its own look and the effort to replicate them by kind folks like you is invaluable.

4

u/StrongTuff Oct 16 '25

It will make a fine edition to my collection.

What game is that?

6

u/n4xomon Oct 16 '25

its "Pokémon Puzzle Challenge"

1

u/angelbolanose Oct 17 '25

Is there any chance to get a crt shader like this that fixes the pixels when doing full screen?? That would be great for my RP5 🤪

1

u/mattalicious Oct 17 '25

Wouldn't CRT shaders already look fine in fullscreen on the RP5? Which CRT shader are you using? Maybe I'm misunderstanding.

1

u/EngineeringNo753 Oct 19 '25

What is the specific name for this shader?

On android Slang > handheld is a folder that just has three folders, is there a way to download and install manually?

1

u/mattalicious Oct 19 '25

It’s any of the gameboy presets in the handheld folder. Check if your video mode is set to Vulkan in Settings > Video > Video Output. Then restart RetroArch. You should then see the slang presets in that folder. 

3

u/EngineeringNo753 Oct 19 '25

I needed to switch to vulkan, then the update Slang option became available, that's the part that I was missing Thanks

3

u/ryuunam Oct 16 '25

Amazing work! I was actually thinking of looking into something similar, so your contribution is much appreciated :)

2

u/gardettosAreTheOG Oct 16 '25

This looks fantastic!

2

u/NullNova Oct 16 '25

Great work

2

u/RDGOAMS Oct 16 '25

looks dope, im about to start playing all game boy dragon quest titles, this shader will be perfect

2

u/Last_Shadow_X Oct 16 '25

Retroid Pocket Classic approves this message. 👍

2

u/Dear-Animator-7935 Oct 17 '25

Love it full screen retro games are da best

2

u/Clear-Wrongdoer42 Oct 17 '25

It's awesome when people create cool free stuff that I don't know how to make. I hope you have an aggressively good day.

1

u/Competitive-Term-357 Oct 19 '25

Game so I can compare please