Render world differently for 2 camaras

I wish to make shader for refraction.
I have 2 cameras. (Main Camera and RenderToTexture Camera)
I do not wish to show transparent refracting object to RenderToTexture camera.
I will use RenderTexture to make that object look transparent with some refraction.

The answer is cullingMask

and GameObject’s layers