It took several different approaches but I finally managed to implement a lighting system that works with moving lights, too. I may tweak colors / brightness levels here and there, but for now I'm happy with the results.