Content-adaptive inverse tone mapping
A median cut algorithm for light probe sampling