I need to figure out how to calculate how many photons any point in a scene might have from all of the light sources around it. I'm not afraid of modifying engine source code to get it, but I was wondering if anyone had any ideas or suggestions on how I might compute this without recreating the lighting pipeline. Ideally, I'd like to get the photon count for every pixel stored in a mono 32bit EXR image.