The first thing to do is to store direct lighting into a 3D texture, through a voxelisation of the scene.The we generate mipmaps for this 3D texture, to simulate propagation of the direct lighting. Once this is done, we “trace” cones in an hemisphere, oriented along the normal of each pixel we’re processing.The goal is […]