We can’t comment on your pipeline in its entirety, but specifically with respect to your use of UE, to the extent you are only delivering linear videos to your client, this is permitted and you will not owe any royalties to Epic. Provided you are using UE to render the video, you are free to use Quixel assets, and you are permitted to alter those videos post-rendering in other software environments.