Mesh invisible and cameras

Hey to all,

I want create a cube visible on main camera but not visible on scene capture 2D (for Portal door effect), that’s possible ?

Thanks you !