where does UE pass the main camera's view matrix to shaders

Maybe you should try to look up to CameraManager.h and you could also try this one: Howto modify the projection matrix - #5 by hurricane86