How to Refine Photoshop Layer Masks with an Overlay Brush

There are a thousand ways to create a layer mask in Photoshop. Many of them will yield a gray-scale mask with many shades of gray, and it can be a bit difficult to get the contrast of such a mask just right so that you have solid black where you want to hide the layer and solid white where you want to reveal it.

In this excerpt from my Mask It Like a Pro! video course, I will show a neat little trick that allows you to get the perfect mask in such cases. I am using the Brush tool with Black and White as the color. The trick here is to set the mode of the brush to Overlay.

Check out how this works in detail.

In a Nutshell…

Our goal in this particular case is to create a layer mask that reveals only the clouds in the sky and hides the blue parts. The original mask has a very noticeable fall-off in brightness to one side. By using the Brush tool in Overlay mode, we can gradually darken the darker parts and brighten the brighter parts in places where this is needed. What we will end up with is a very good mask that only reveals the clouds, as intended.


  1. Activate the Brush tool.
  2. Choose Overlay as your Mode.
  3. Press ‘D’ on your keyboard to set the foreground color to White and the background color to Black.
  4. Set the Flow to around 5%.
  5. Brush repeatedly on the dark parts with Black and on the bright parts with White. This will darken the dark regions and brighten the lighter regions, and this effectively changes the contrast. You can use the ‘X’ key to switch between Black and White as the foreground color quickly.

Mask It Like a Pro!

The complete guide to layer masking
in Photoshop CS5 / CS6 & CC

6-hour video course
21 lessons
20+ resources

10 HDR Top Tips for FREE!
Join our newsletter to get this eBook and step up your HDR skills today!
You will receive: The free eBook + our regular email newsletter with tips, tutorials, news and product information… all for free!
100% Spam-Free - Easy Unsubscribe
3 replies
  1. Jimmy
    Jimmy says:


    Good day. I saw your video on the above subject matter and it seems great.

    I have two questions for you, and they are as follows:
    First- I want to make sure that if I choose to go with this video is your web site secure for preventing hackers to obtain my card information?

    Second- I want to obtain the knowledge when I am selecting a subject or an object in photoshop cs6 that if I am painting on a mask that I can paint perfectly without spilling over onto the subject area thus minimizing the cleanup of painting back and forth going from a white or black brush stroke either on a white mask or a black mask. Will this video help me in this matter?

    Have a great day.


    • farbspiel
      farbspiel says:

      Hi Jimmy,

      thanks for your questions.

      All the payment issues are completely handled by PayPal. You do not have to enter any credit card information directly on our website. If PayPal is not an option for you, you can also pay by direct bank transfer. In this case, the delivery will be delayed for a couple of days until the funds are cleared.

      As for the accurate selections you are aiming for: That’s exactly what the entire course is about. Now, of course there are cases in which you really need to invest some time in the masking. But that’s just the nature building complex masks. You will learn all the masking and selection skills you can possibly acquire. Thus, the time and effort you will have to put into future projects can be reduced as much as possible.

      Please let me know if you have any other questions.


  2. Edy Hardjo
    Edy Hardjo says:

    Hi Klaus,
    Thank you for the tutorial above.
    I have a problem to do this, my overlay brush seems not working when I paint on the layer mask.
    Nothing happens when I paint over the layer.
    When I set to other mode (normal, dissolved etc.) it works, but not in Overlay mode.
    I have check both opacity and flow are 100%, and I already make sure I paint on the layer mask.
    Could you please advice whether I missed something?
    This anomaly happens on my iMac, but it works well on my Macbook.



Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *