1. A method, comprising: receiving a ray of a set of rays, the ray having an origin and a direction; sorting the rays into a directional group of a plurality of directional groups, each directional group having a corresponding directional range and comprising rays of the set of rays having directions within the corresponding directional range; and intersecting the rays with a scene hierarchy to make an image.