I'm doing some compositor effects on my Cycles passes before outputting them to Krita and recombining them. But I'm running into a problem: Cycles stores a bunch of indirect light color in the Direct and Indirect passes, which complicates some of my setup. I want my shading passes to be totally black and white, and all the color to be in the Color pass. I'd like to transfer the color from the Shading passes to my color pass.
The normal way passes are combined is (Direct+Indirect)*Color. So I want to somehow alter the Color pass based on the colors in the Direct and Indirect pass, so that when it's all combined, it looks the same as it does now. I'm not really sure where to start with this. Is this something that can be done?