Using photon mapping requires two principal steps: Creation of the maps and using them for rendering a scene. The first one is executed only once, while the second lays in the core of the shading algorithms. In this section we present them both.