Photoshop: How to use a smart object as a layer mask?

  • 1
  • Question
  • Updated 12 months ago
  • (Edited)
I'm using the latest version of Photoshop CC I believe.
I have two layers, one is a smart object and the other is a shape. I want the shape to be visible everywhere except where the smart object is. So essentially the smart object would make a hole in the shape. 
If I had to give an example, let's say the shape is a big circle, and the smart object is a star in the middle of it. I would want the star to be transparent on the shape layer, so it's like a doughnut with a star shaped hole.
Thanks for any suggestions.
Photo of Ella Rackers

Ella Rackers

  • 1 Post
  • 0 Reply Likes

Posted 12 months ago

  • 1
Photo of JEA


  • 219 Posts
  • 147 Reply Likes
Double click to the right of the smart object thumbnail in the layers panel, set the Blending Options Fill Opacity to Zero and the Knockout to Shallow.

Photo of Max Johnson

Max Johnson, Champion

  • 450 Posts
  • 208 Reply Likes
To add to this, I would recommend putting both objects in a group. Shallow knockout will only knockout things in that group and you can place another object under the group as a background.