I just remembered a better way. Set your GI, or FG, or whatever, to render to file, and turn on material override using a shader with a neutral color, then render. After it's done turn off the material override and make sure your GI/FG is set to use file, (DO NOT REBUILD!) and then render again. The second render should…