How to convert texture 2D to Material?

Remote as in a streamed material or in game server => client?