Photoshop: Mask and layer style not a good mix + circle trouble :)

  • 1
  • Problem
  • Updated 8 years ago
  • (Edited)
Mask + layer style.

Make a square, fill it with a color of your choose, click the layer to open layer styles.
Put on a stroke layer style (select to put the stroke on the outside).
Make a selection that covers 50% of the square, but goes out the edges (so its not a tight fit). Click the MASK button in the layers panel.
Make a gradient from black to white.
Now theres a error caused by the stroke in the layer style.
The mask looks "wrong". Like it can not make the masking correct because of the layer style. It should be put on top of it all, making the masking work on the square and the stroke.
(Same things happens if the stroke is inside.)

Circle

Make a circle, make it a smart object, scale it down.. It (allot of times) get cut off in the top.
Making the top (and sometime) the sides look straight and not round.

Photo of deletemenowplease

deletemenowplease

  • 7 Posts
  • 0 Reply Likes
  • a flasher

Posted 8 years ago

  • 1
Photo of Jeanne Rubbo

Jeanne Rubbo, Employee

  • 125 Posts
  • 27 Reply Likes
I'm not able to reproduce the problems with the stroke and layer mask. I want to make sure I have everything set up the same as you do. Could you send me the layered PSD file from the screenshot? My e-mail is jrubbo AT adobe DOT com.

I'll take a look at the Smart Object issue as well. I seem to recall other people having problems with part of an object getting cut off slightly.
Photo of PECourtejoie

PECourtejoie, Champion

  • 795 Posts
  • 285 Reply Likes
Hello, if you right-click on your layer thumbnail, and select blending options, did you check layer mask hides effects? That should give you the behavior you seem to be looking for (having the layer mask affect the layer style)
Photo of Jeanne Rubbo

Jeanne Rubbo, Employee

  • 125 Posts
  • 27 Reply Likes
I did try replicating his setup with that setting both on and off and couldn't reproduce it. I'm going to double-check again to make sure I'm following his exact steps.
Photo of deletemenowplease

deletemenowplease

  • 7 Posts
  • 0 Reply Likes
Hey Jeanne - I will send you the file once i get back to work... not until tuesday though. The smart object problem should be pretty straight forward to reproduce.

PeCourtejoie - I didn't know that, i will try that (next week)
Thanks for the possible solution :)

Thanks for responding both of you :)

// PoulG
Photo of Jeanne Rubbo

Jeanne Rubbo, Employee

  • 125 Posts
  • 27 Reply Likes
Cool. I'm going to take a look at your steps again to see if there's something I missed.
Photo of PECourtejoie

PECourtejoie, Champion

  • 795 Posts
  • 285 Reply Likes
To set the record straight: is your issue the gray rectangle on the middle image, as well as the remains of grey?

Or is it that you would want the stroke to be affected by the layer mask? (in that case, my suggestion should cure that)
Photo of deletemenowplease

deletemenowplease

  • 7 Posts
  • 0 Reply Likes
I attached the file - a new version, with a description of what i mean - it's a bit hard to explain..

Get the file here: http://www.sendspace.com/file/84e4tx

ups: the spelling mistakes in the bottom of the picture says:
"PS: The correct ones are the fake ones, because the correct ones can not be made today".." - Meaning i made them with flattened layers and a mask to demonstrate it for you guys and girls.. (cause it's not possible with the layerstyle..) :)

Here is a jpg version of the file.
Photo of PECourtejoie

PECourtejoie, Champion

  • 795 Posts
  • 285 Reply Likes
Poul, did you try to use the setting I suggested? I do get the proper behavior checking the "layer mask hides effects" in the blenging options (like #3 has in my example, while #2 is made with default settings)

I made it on a machine with CS3, and did not lower the fill opacity. If I do set fill to 0, I do notice that the stroke makes a gradient inside 2, but is transparent inside 3, as expected.

Photo of deletemenowplease

deletemenowplease

  • 7 Posts
  • 0 Reply Likes
PECourtejoie > It works!
Thanks a million!
I didn't know about that feature, that will save me a bunch of time! :)