A basic implementation of "A Median Cut Algorithm for Light Probe Sampling"