Text this: Hierarchical data structures in rendering scenes containing a massive number of light sources