Photon mapping aids traditional Montecarlo ray-tracing in a number of ways to obtain better results. Therefore, since the structure of the ray-tracer remains unchanged, the distinct parts that compose the final image can still be described independently. Following the author's reference [1], we will organize our explanation as follows.