mGBA Forums
how to change palettes of gameboy advance games in mgba? - Printable Version

+- mGBA Forums (https://forums.mgba.io)
+-- Forum: mGBA (https://forums.mgba.io/forumdisplay.php?fid=1)
+--- Forum: General (https://forums.mgba.io/forumdisplay.php?fid=3)
+--- Thread: how to change palettes of gameboy advance games in mgba? (/showthread.php?tid=5579)



how to change palettes of gameboy advance games in mgba? - bloonchipper - 03-22-2023

trying to change the palette used by gameboy advanced games in mgba but can't figure out how to do so


RE: how to change palettes of gameboy advance games in mgba? - endrift - 03-23-2023

There are 32768 different colors a GBA can display. There is no way to manually change them directly, but you can adjust them using shaders. There are sliders for saturation, brightness and gamma that you can play with in the settings.


RE: how to change palettes of gameboy advance games in mgba? - bloonchipper - 03-23-2023

(03-23-2023, 09:27 AM)endrift Wrote: There are 32768 different colors a GBA can display. There is no way to manually change them directly, but you can adjust them using shaders. There are sliders for saturation, brightness and gamma that you can play with in the settings.

is there a way to make a custom shader that targets specific colors to change them?


RE: how to change palettes of gameboy advance games in mgba? - endrift - 03-25-2023

You'd have to write it yourself, but yeah. It's just a fragment shader as per regular OpenGL.


RE: how to change palettes of gameboy advance games in mgba? - bloonchipper - 03-25-2023

(03-25-2023, 07:01 AM)endrift Wrote: You'd have to write it yourself, but yeah. It's just a fragment shader as per regular OpenGL.

well i have zero idea how to code so uh that may be a problem