Turn off outlines in the demo
Open the match replay and switch to the player you want to review. Enter spec_show_xray 0 in the developer console. Return to the replay and find a moment when another player is behind a wall. Their outline should disappear.
When this is useful
Use the first-person view with outlines off to review what the player could see at the moment of contact. Turn outlines back on to review the other team's positions. Radar, audio and the spectator interface can still provide extra information.
Restore X-Ray
Enter spec_show_xray 1 and test again at the same point. This setting applies to spectating and demo playback.