How to mask off part of image plane In my scene, I have an image plane with a picture of some kitchen tiles. I also have a cube which has been UV unwrapped and has the same texture as the image plane, but positioned so that the front face of the cube fits to one of the tiles.

I want to have the front face which has also been separated by selection so that I can open it like a lid and 'see' inside the cube.

The problem is that the image plane cuts into the cube. How do I mask the area where I want to see through to the cube behind?


Image plane


Scene

Please also look at my BLEND FILE if you can help.
Materials only solution

Create a cube
name it cookie cutter  (Optional)
Give it this material:

Apply this material:

to the background plane, and position cookie cutter to make the hole.

Note: When the camera looks through the cookie cutter at the plane, the plane will be transparent, so make the cookie cutter narrow. It may also be affected by other objects, so be careful.
Texture + Material Solution

Apply this material to the background plane

In the top image node, give it a black and white image, where it is white, there will be a hole.

Note: This is very robust, but can be a huge pain if you start moving your objects.