I'm having an issue achieving a portal effect.

I’m trying to recreate the portal effect seen here Portal Effect However, I can’t get it to hide the object gradually as you rotate around it. The pieces in the portal just remain visible till the camera is parallel to the portal. Even then the portal doesn’t hide the pieces of the object coming out and they remain visible.


This is my material graph and as the preview shows it will gradually become invisible based on the camera’s position.

This is what it looks like in the blueprint. I’m using a custom stencil for the object and have turned on stencil in the project settings. The solution I found to making it show is to turn the opacity mask clipping to 0 which makes it look like this.

But then it creates this issue

Any ideas on how to fix this?

Wanted to bump this. I also tried out a few other options messing with the clamp and masking in the material. I also recreated it in a separate new project and still have the same result. Would love some help with this.