This is usually done using a polarization-specific thin film mirror (TFP). Light from one direction has its polarization rotated via half-wave mirror (or quarter-wave if you're worried about transmission and then reflection), pockels cell, etc and is reflected by the mirror. Light from the...