Palette changing for monochrome sprite sheets or tiles?

Hello, I was wondering if there is any way to do something where you can change the palette of your character, your character and NPCs around you, or tiles in the map. For example, lets say a character uses an item that changes their palette or the world around them, or if they enter a new map, tiles change palettes.


Using this image as an example, it shows monochrome at the top. The bottom colors are for the palette change.

paletteexample.png


Would it require a specific plugin? Is there anything I should know?
Dynamically changing every color to a specific corresponding color would be quite difficult, and probably easiest to implement by just swapping tilesets to different corresponding ones.
But if all you want is to turn things to monochrome, there's actually an existing PIXI filter you can use, e.g. with Pixi Filter Controller.
no, it can be done completely with event commands if you provide the engine with both pictures for everything.

however if you want to do it as a mathematical filter I strongly suggest you reconsider - hue and tint operations can put a lot of load on computers, which is why they have become uncommon since RAM and HDD became cheaper
oh, okie then, thanks!
no, it can be done completely with event commands if you provide the engine with both pictures for everything.

however if you want to do it as a mathematical filter I strongly suggest you reconsider - hue and tint operations can put a lot of load on computers, which is why they have become uncommon since RAM and HDD became cheaper

Original thread: https://forums.rpgmakerweb.com/threads/palette-changing-for-monochrome-sprite-sheets-or-tiles.159636/