Obscured player material effect

I’m making a puzzle game about moving blocks, the camera is fixed and the play area is limited to 1000 by 1000.

What I’m after and I’ve seen video’s showing this before is an effect which hides objects (or makes them transparent) when the player is behind them. The camera is frozen in place and only the player moves.

Now I’ve set up a trace by channel (only single at the moment), it detects the player is obscured which I’ve printed the bool to the screen for testing purposes. The problem I have is I can’t make a material which is fully opaque and then changes to transparent. Do I have to change the blend mode rather than the opacity value, 1 and 0 both shows as semi transparent. (This is after following the transparent material UE4 documentary).

Ideally the obscuring objects would turn semi transparent and the obscured objects would show as a highlighted wireframe (so the player could see the layout which is hidden) and of course the player would always look fully rendered.