hide part of mesh by one material?

.Cannot find where the image came from.
Is it possible to get the final effect by only changing the cube’s material?
.

I know there’re ways to get the effect.
But from the image,seems like he only changes the cube’s material to do that.
Is it possible?

You can use Sphere mask node or box mask function node in material of object you want to disappear, and then connect it with other object for example via Material Parameter Collection and blueprint, but i am preatty sure, cutting one object transparency by other object shape is impossible.

Any solution for this ? I really Need this!

what are other ways to achieve this ?
or how to create this type of material , im in much need of this effect.

Also interested.

After little research that I did regarding the topic , your best bet is to see some YouTube tutorials regarding Custom Depth and try to incorporate that with a transparent material.
Then maybe you’ll achieve this effect.
If you do succedd , do reply to this !

I’m aware of Custom Depth, and about Location Based Opacity. But this looks different. Box masks objects behind it. It’s only possible if the material of the chair and table is aware of the rendering process. I’m not sure how to achieve that.

Sorry for the late reply.I know some graphic knowledge.I know for C++,you can do it by making your own plugin or even make changes to engine code.You may also try to do it without C++.All is algorithm.One way:first calculate the intersection points’ world location,then make changes to the intersection objects’ materials .It’s complicated if you’re not a good programmer.But the procedure is quite common.Sad the engine doesn’t provide this.

Anyone fine a solution to this?