0
$\begingroup$

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 Image plane

scene Scene

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

$\endgroup$
1
1
$\begingroup$

Materials only solution

  1. Create a cube
  2. name it cookie cutter (Optional)
  3. Give it this material: enter image description here
  4. Apply this material: enter image description here 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

  1. Apply this material to the background plane enter image description here
  2. 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.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.