I finally did it, now I have a shader/lighting system that can do color quantizing, mapping colors to a arbitrary color palette using different color models AND do dithering, all at runtime (and no matter how bad I am implementing this, framerate is still over 900), and I can mix all these effects:
#indiedev #pixelart #gamemaker #solodev #shadermagic