More work on setupEntityLighting.