These were a development from the fayum paintings that covered the face of the dead in the sarcophagi of Egyptian mummies.
European artists adopted this technique from studying Egyptian fayum paintings.