Lights are now visible once again - although the octree for the light sources doesn't seem to be as efficient as I thought.