
Set the “Subject Depth” (aka. the video depth) to a distance such that all your CG elements are in front of it. In order for this shader to work, the CG elements must be rendered in front of the video background, otherwise the video will cover the entire scene!