Help with Making an X-Ray like Mechanic.

Hello, I would like to achieve the following And I am not sure how.

1 - Object A is a unit placed on a terrain.
2 - Object B is a Game Object that is Semi-Transparent and placed between the terrain and the Camera. (this could be a 3D object like a sphere)

What I need: Once Object A, is placed between Object B and the terrain; Object A will no longer become visible, however the terrain remains visible. Almost like an X-Ray in real that makes only bones visible, I need it to make only terrain visible while looking through it.

Thank you in Advance

bump

Hi @Mortalanimal ! Please take a look at the following videos, you will see how to use Depth Test and Render Features in the Universal Render Pipeline to achieve effects as the one you described: