Text this: Determining generative models of objects under varying illumination