A framework for inverse tone mapping
A median cut algorithm for light probe sampling