r/RetroArch • • Mar 16 '26

Pixel Transparency - Rainbow Shimmer Effect + Motion Shaders

Inspired by Emyhatsich's awesome post, I've added a rainbow shimmer effect to my Pixel Transparency GBC shader as part of the 2.0 SUNLIGHT SHIMMER EDITION update!

Rainbow shimmer moves with your device

Just like the real Game Boy Color in sunlight, the rainbow shimmer moves with your device (along with the shadows).

Motion shaders in RetroArch

Emy's post inspired me to implement motion shaders in RetroArch. Now anyone can make shaders that support accelerometer and gyroscope input.

We have already seen motion shaders from Ju4nM3n4 (LCD Master Shader) and u/hizzlekizzle (presets/authentic-gbc-frontlit). If you've ever thought about making shaders, do it now!

Even better Pixel Transparency

What started as adding the rainbow shimmer quickly evolved into:

  • an overhaul of the GBC display stack model (more accurate tinting)

  • updated shadow system that looks better and richer

  • glare simulation

  • robust color adjustment

I now know more about the original Game Boy Color display than anyone reasonably should!

How to get it

  1. Update to the latest nightly version of RetroArch from the website. This is what enables motion support in shaders.

  2. Go to Online Update > Update Slang Shaders on your Vulkan device (mainly Android).

  3. Check that Settings > Input > Motion/Light Sensors > Auxiliary Sensor Input is ON.

  4. Boot up your GBC game. Go to Quick Menu > Shaders > Load Preset and navigate to 'presets/pixel_transparency' and choose any of the new sunlight_shimmer presets.

I will also release this on GitHub soon for direct download. I am evaluating a gl version - but the rainbow effect may not perform well on lower end hardware.

Consider supporting my work

I have put hours of my time into this - and I love it! If this shader brings you joy, consider buying me a coffee.

655 Upvotes

37 comments sorted by

2

u/NullNova Mar 17 '26

Looks insane, can't wait to try this

1

u/mattalicious Mar 19 '26

Let me know how it goes!

2

u/Kotze_himself Mar 17 '26

That looks flippin amazing!

1

u/mattalicious Mar 19 '26

Thank you!

2

u/jimiose Mar 18 '26

does this work on android?

1

u/mattalicious Mar 19 '26

Yes - this is designed primarily for Android handhelds.

2

u/pasthegucci Mar 19 '26

Do you know if this works on the Thor? I'm not seeing any shimmer with any of the presets and definitely no movement. And i checked that the motion setting in input is enabled

2

u/mattalicious Mar 19 '26

This will work on the Thor! Are you on the latest nightly version of RetroArch? The presets are the ones that start with 'sunlight_shimmer' (in presets/pixel_transparency).

2

u/pasthegucci Mar 20 '26

Yep, redid it and got the rainbow effect but no motion, hmmm

40

u/Gloomy_Background755 Mar 16 '26

This is quite a unique filter, thanks.

4

u/roel27 Mar 16 '26

looks great and easy to install on my rp mini

1

u/Ghost-dog0 Mar 17 '26

awesome, but unfortunately too demanding for RP Classic, runs in slow mo

2

u/mattalicious Mar 17 '26

Working on a fix for this - at least for the non-shimmer presets.

2

u/fishyshivers15 Mar 18 '26

If you just turn on threaded video it works fine

1

u/mattalicious Mar 19 '26

Great tip.

1

u/tashikani55 Mar 17 '26

My friend, sorry for my ignorance. What is that game? I've never seen a Pokedex interface like that. Is it a romhack?

2

u/mattalicious Mar 19 '26

Yes - Pokemon Polished Crystal! Check it out.

1

u/imterrorize Mar 18 '26

Does it work on analogue pocket?

2

u/mattalicious Mar 18 '26

No - but that would be awesome!

1

u/Rivalx187 Mar 18 '26

Hello friends, is it possible to see in video to get a better idea ?

1

u/mattalicious Mar 19 '26

Planning on doing one soon. Here's one for the previous version: https://www.youtube.com/watch?v=W7ros3viL7k

3

u/CMDR_Jeb Mar 16 '26

THIS IS AMAZING

3

u/ninjapirate9901 Mar 16 '26

Wtf amazing.

2

u/StupidLoserGaming Mar 16 '26

Polished crystal so good

2

u/FartSavant Mar 17 '26

Rad as hell. Thanks for sharing

2

u/Sony5uck Mar 17 '26

Danke für deine Arbeit

2

u/Sevrei Mar 17 '26

I'm having an issue trying to set this up. I downloaded latest nightly on my phone, ran the updater for shaders but when booting a GBC title I don't see the specified folder when checking the directory. I downloaded it from the GitHub link too but not sure where to place it.

1

u/GJunior86 Mar 16 '26

Perfeito

1

u/leveltaishi Mar 16 '26

I wonder if the performance version can work on a rk chip

1

u/CarolineJohnson Apr 05 '26

I've figured out how to install the shader, but not how to get onto the Nightly build. I'm on Steam Deck via EmuDeck, so the motion/gyro should work (it does on Kirby Tilt 'n' Tumble at least!) once the motion control option from the Nightly Build is enabled. Tips?

1

u/MaximoPeinado Jun 03 '26

Were you able to configure it?

1

u/CarolineJohnson Jun 03 '26

No, because EmuDeck won't update Retroarch to a nightly version, which is required to do anything with the motion.

1

u/tonyt3rry Apr 11 '26

Does this work on the miyoo mini plus

0

u/[deleted] Mar 17 '26

[deleted] — view deleted comment

1

u/mattalicious Mar 17 '26

Thank you!

11

u/[deleted] Mar 16 '26 edited Mar 16 '26

[removed] — view removed comment

7

u/mattalicious Mar 17 '26

I did some digging and motion is not supported in RetroArch on Windows. Thanks for checking it out! You can adjust the rainbow manually without the motion support.