Most of the research work is focused on the effect of ultraviolet on the epidermis , dermis as well as the immune system , whereas the long-term effect of ultraviolet on hair has not been investigated .