Moved global illumination factor to BGS code