set correct light type for light map