How to add and run a script that changes the colors of the final image shown with F12?
What I want, is that I want to see, how a rendered image (F12) would look like, if I change the color palette from default (32 bit colors?), to a 8 bit indexed color palette, used by older games like Fallout.
I could probably code the mathematical part, but I could not find out, how to make and run such a script. A simple example that would let’s say replace every color on an image (not texture, not material, but final image) to black if the alpha or one of the colors value is less than a limit, would help me a lot, I could work from there.
Doesn’t matter if phyton script or open shader language or whatever, I just want it to be able to run in Blender and not externally on a saved image, for convenience ofc.
Note: again, I do not want to change texture colors, but the final image presented with F12.