The direction in 3D world space corresponding to the pixel is determined. The corresponding azimuth and elevation are calculated The environment map is sampled at the pixel corresponding to the ...