How do you fade in/out to get that discreet step by step fade. Do you manually round a loop to 1 -> 0.75 -> 0.5 -> 0.25 -> 0?
I wanted to fake an old palette shifting fade from the NES/Gameboy era and did exactly something like what you wrote, yeah.