How to specify light vector and light position in material editor or blueprint

Sorry but I new when it comes to BPs, but with this can I make a mesh have 2 different textures? one where light hits it and the parts in shadow, another texture?If so how do you go about that,thanks