Just got Unreal 4(which is amazing) and learning how to do shaders and special effects. I made this Material Function that allows simple texturing using RGB masks to separate textures on a UV. Below is what the node looks like in the material editor and an example of it used on a simple mesh, i go into greater detail on my portfoilo
here on how I constructed it. Any constructive critisism is greatly appreciated.

