This would have been easy in a forward rendering path. As UE4 uses a deferred rendering path, we don’t have access to light vectors. If you had the light vector, you would only need to use the dot product to filter out the lit and dark area of the mesh.
Maybe there is a trick that can be used in deferred rendering. Is there anyone who knows how?