mirror material not showing objects behind camera

how does this material made? do you used planar reflection or scene capture component for that?

i have made a mirror but it doesn’t show the objects that isn’t in the main render. so if the character can’t see the object it doesn’t render in the mirror either. the question is how to fix this.