Spectrum to RGB seems to work now (correct brightness). Working on combining explicit and implicit paths in path tracing.